• Vibhav Pant's avatar
    Improve byte-switch execution. · dde800c8
    Vibhav Pant authored
    * lisp/emacs-lisp/byte-opt.el,
      lisp/emacs-lisp/bytecomp.el (byte-decompile-bytecode-1),
      (byte-compile-lapcode): Calculate the actual jump address while
      compiling, store it in the jump table.
    
    * src/bytecode.c: Jump to the looked up value directly, do a linear
      search when the number of elements is <= 5.
    dde800c8
byte-opt.el 83.1 KB