|
|
|
|
|
by throwaway161220
3465 days ago
|
|
There's a JIT branch in the official upstream emacs repository. Just checkout nick.lloyd-bytecode-jit after cloning emacs from git and run `./configure --with-jit` once you have libjit (originally a part of GNU dotNET) to give it a try. libjit doesn't install a .pc file so you'll have to explicitly set the LIBJIT lib and C ./configure flags if you install libjit from source. |
|
In my own testing I've found that global JIT seems to not help very much, and may actually be slower because of repeated compilations. Selectively compiling specific functions can give a decent speedup, though.
Also, check out Burton Samograd's emacs-jit[1], which uses a very similar technique.
[1] https://github.com/burtonsamograd/emacs-jit/