GNU bug report logs - #69480
Emacs Lisp needs, for its great 'native-compile', 'declare' and 'the' for fixnums and arrays.

Previous Next

Package: emacs;

Reported by: Robert Boyer <robertstephenboyer <at> gmail.com>

Date: Thu, 29 Feb 2024 19:42:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrea Corallo <acorallo <at> gnu.org>
Cc: robertstephenboyer <at> gmail.com, 69480 <at> debbugs.gnu.org, stephen.berman <at> gmx.net
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 <at> gnu.org>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  Stephen Berman <stephen.berman <at> gmx.net>,
>   Robert Boyer <robertstephenboyer <at> gmail.com>,  69480 <at> 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).




This bug report was last modified 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.