summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorEthan Kong <ek.ethan.kong@gmail.com>2024-10-19 12:43:27 +0800
committerEli Zaretskii <eliz@gnu.org>2024-11-09 10:56:54 +0200
commit200214ca68f00722bf906bbf2a2afa81d139d5dc (patch)
treebba78233ccb13fca8c144889e239db336a68cbf5 /lisp/emacs-lisp
parent766ec1f9e08e6f2c7c22b514a6f2e65f79341023 (diff)
downloademacs-200214ca68f00722bf906bbf2a2afa81d139d5dc.tar.gz
emacs-200214ca68f00722bf906bbf2a2afa81d139d5dc.tar.bz2
emacs-200214ca68f00722bf906bbf2a2afa81d139d5dc.zip
Fix 'internal_equal' so that it uses at most one hash table
The old implementation passed the hash table by value in recursive tests, which would cause each recursive level to initialize its own hash table, causing excess memory usage. * src/fns.c (internal_equal): Delegate to 'internal_equal_1'. (internal_equal_1): New function; body from old 'internal_equal'. Pass the hash table argument by reference instead of by value. (Bug#73883)
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions