4 ms·
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-j
by throwaway161220 10y 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.
- smindinvern 10y agoIf you want to try out that branch, do note that lisp functions are either explicitly JIT compiled with the `jit-compile' function or JIT can be enabled globally by setting `byte-code-jit-on' to non-nil. 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/ https://github.com/burtonsamograd/emacs-jit/
- throwaway161220 10y agoThis branch being in the official repository, I took it to be favored. Do you know what's going on?