GNU bug report logs -
#40969
28.0.50; [feature/native-comp] unnecessary recompilation
Previous Next
Reported by: ct <at> pipapo.org (Christian Thäter)
Date: Wed, 29 Apr 2020 19:09:01 UTC
Severity: normal
Found in version 28.0.50
Done: Andrea Corallo <akrl <at> sdf.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 40969 <at> debbugs.gnu.org (full text, mbox):
ct <at> pipapo.org (Christian Thäter) writes:
> I notice that when I 'org-reload' C-c C-x ! then the whole
> compilation starts again even when its already compiled. Somewhere it
> misses that. I didn't investigate this any further. Maybe its intended
> behavior because org-mode forces to byte-compile itself.
>
> Might be smarter to store a hash over the source .el or .elc in the .eln
> metadata and prevent recompilation when it was already compiled. In fact
> all .eln could be addressed by these hashes with some directory
> restructuring (I dont go into detail here, this would be another
> feature).
Hi Christian,
I assume deferred-compilation is non nil.
I managed to reproduce the issue and 02e3ffad6d solves it for me.
The only thing I'm uncertain is if generally speaking we should disable
the deferred compilation trigger when a load with MUST-SUFFIX non-nil is
performed. Currently we are not doing that but I'm asking myself if
this would be appropriate.
Thanks
Andrea
--
akrl <at> sdf.org
This bug report was last modified 5 years and 77 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.