emacs-devel
[Top][All Lists]
Advanced

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

Re: scratch/accurate-warning-pos: Solid progress: the branch now bootstr


From: Eli Zaretskii
Subject: Re: scratch/accurate-warning-pos: Solid progress: the branch now bootstraps.
Date: Sun, 25 Nov 2018 18:40:54 +0200

> Date: Sun, 25 Nov 2018 15:42:03 +0000
> Cc: "Charles A. Roelli" <address@hidden>, address@hidden,
>   address@hidden, address@hidden, address@hidden,
>   address@hidden
> From: Alan Mackenzie <address@hidden>
> 
> The idea behind symbols-with-pos-enabled is that it will be a 32/64 bit
> integer permanently in cache, hence can be tested for zero/non-zero
> rapidly.

This is premature optimization, we have gazillions of such tests in
our inner loops (e.g., see bidi.c), one more or one less shouldn't
matter.

> Even so, the mechanism has slowed Emacs down by seven or eight per cent.

I'd be very surprised if using a boolean Lisp variable would slow that
down more.



reply via email to

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