aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorMattias EngdegÄrd2023-02-05 11:18:26 +0100
committerMattias EngdegÄrd2023-02-05 16:25:23 +0100
commit9926b44f9ee75b50c50133b0d1292db5c20175f0 (patch)
tree9b1d3c5cfde221acb13b5f5aa8db33e3c5f6746a /java
parent929099cbb435f8bc9461b8f0ba99a5f8c2093222 (diff)
downloademacs-9926b44f9ee75b50c50133b0d1292db5c20175f0.tar.gz
emacs-9926b44f9ee75b50c50133b0d1292db5c20175f0.zip
LAP optimiser: bind local variables instead of mutating them
This is a refactoring step: there is no change in how the optimiser works. * lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode): Instead of re-using local variables through mutation, bind them at point of use. This ensures that there is no value leakage by mistake and actually reduces the static size of the bytecode of this function somewhat. The lousy variable names (tmp, tmp2 etc) are retained but can at least now be changed into something more descriptive.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions