bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24603: [RFC 16/18] Refactor character class checking; optimise ASCII


From: Eli Zaretskii
Subject: bug#24603: [RFC 16/18] Refactor character class checking; optimise ASCII case
Date: Sun, 06 Nov 2016 21:44:53 +0200

> From: Michal Nazarewicz <mina86@mina86.com>
> Cc: 24603@debbugs.gnu.org
> Date: Sun, 06 Nov 2016 20:26:11 +0100
> 
> On Tue, Oct 04 2016, Eli Zaretskii wrote:
> > Thanks.  I think this change will require a benchmark to make sure we
> > don't lose too much in terms of performance.
> 
> Benchmark and its results included below.
> 
> It’s a bit noisy and as all benchmarks of that kind it doesn’t really
> measure the real usage, but I think it’s safe to say that things aren’t
> getting worse.

Thanks.  What happened here:

> ==== Refactor character class checking; optimise ASCII case ====
> alnum         54.643     54.301     56.668     56.898
> alpha         54.654     54.558     56.134     56.281
> digit         26.103     26.044      0.495      0.443
> xdigit        25.606     25.690      0.815      0.806
> upper         83.269     83.306     36.704     36.487
> lower         56.278     55.804     54.872     54.917
> word          34.820     55.092     99.577    100.618
                           ^^^^^^

Is this slow-down real?

The rest of the results look fine to me.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]