]> git.eshelyaron.com Git - emacs.git/commit
Use the new obarray type for the initial obarray
authorMattias EngdegÄrd <mattiase@acm.org>
Sun, 11 Feb 2024 14:11:21 +0000 (15:11 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:42:16 +0000 (18:42 +0100)
commitc6dd9941deeb4119db9d6b2cecb39ac5fe2f87fa
tree834a00eeb3cb8f68c582baec05db2cda84f78d87
parent54978c3a632ae8732fa02e01e2fe1bff078e7067
Use the new obarray type for the initial obarray

This can improve performance a lot, especially after the obarray has
been fed many symbols.

* src/lread.c (OBARRAY_SIZE): Remove.
(load_path_check): Create an obarray object instead of a vector.

(cherry picked from commit 3ea77c735de975ebda707e0e1e8bb5e0adad2bf5)
src/lread.c