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

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

bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' a


From: Eli Zaretskii
Subject: bug#69480: Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays.
Date: Fri, 01 Mar 2024 14:40:57 +0200

> From: Andrea Corallo <acorallo@gnu.org>
> Cc: Eli Zaretskii <eliz@gnu.org>,  Stephen Berman <stephen.berman@gmx.net>,
>   Robert Boyer <robertstephenboyer@gmail.com>,  69480@debbugs.gnu.org
> Date: Fri, 01 Mar 2024 07:18:29 -0500
> 
> > Why is the timing with native compilation so much slower than with byte
> > compilation?
> 
> Because the file is not lexically scoped so we are not running
> optimizations.
> 
> On my laptop I see:
> 
> 11 secs byte compiled
> 18 secs native compiled
> 
> 7 secs byte compiled with lexical scope
> 5 secs  native compiled with lexical scope.

Right, thanks.

My timings are 6.35 and 6.28 sec accordingly (down from ~16.5).





reply via email to

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