1 line
1.5 KiB
Plaintext
1 line
1.5 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>Hi guys, My emacs has been quite slow (esp. with lsp-mode/lsp-dart), I've downloaded gccemacs to hoping for some performance gain... I noticed that it took around 129 secs to startup (<code>(emacs-init-time)</code>)); I tried it again, and this time, it took around 5.7 secs so I think it was compiling the <code>.el</code> files on the first run. Next thing I did was to start the normal emacs build to compare; This took around 150 - 200 secs, but like 10-12 secs on subsequent launches. When I tried gccemacs again, It took just as long as the first time again.</p> <p>It seems that the <code>.elc</code> files are not fully compatible between the two and so they are recompiled... Is there anything I can do about this? I'd love to use the gccemacs, but doesn't seem to be stable yet as I keep on getting <code>comp warnings</code> pop up in a <code>Warnings</code> buffer which is disturbing.</p> <p>I thought gccemacs would compile down to <code>.eln</code> while the normal emacs would compile to <code>elc</code></p> <p>My gccemacs is v28.0.5 and normal emacs is like v27.2 Thanks in advance.</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/hungry_m8"> /u/hungry_m8 </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/q7a2lt/do_different_versions_of_emacs_recompile_elc/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/q7a2lt/do_different_versions_of_emacs_recompile_elc/">[comments]</a></span> |