summaryrefslogtreecommitdiff
path: root/java/org/gnu/emacs/EmacsThread.java
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2023-02-04 18:58:48 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2023-02-05 16:24:51 +0100
commit929099cbb435f8bc9461b8f0ba99a5f8c2093222 (patch)
tree8cbbebe184ce81b33599d767656dca3ea3c635d1 /java/org/gnu/emacs/EmacsThread.java
parent45525cafcbcc5205b7a3d53a6ae62c3ee31dfaf2 (diff)
Get rid of delq in LAP optimiser
* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode): Instead of using the O(n) `delq' to remove single instructions, use the O(1) `setcdr'. To do this, anchor the instruction list in a cons cell and use the predecessor cell in iteration.
Diffstat (limited to 'java/org/gnu/emacs/EmacsThread.java')
0 files changed, 0 insertions, 0 deletions