]> git.eshelyaron.com Git - emacs.git/commit
Simplify and speed up make-hash-table argument parsing
authorMattias EngdegÄrd <mattiase@acm.org>
Sun, 18 Aug 2024 12:20:36 +0000 (14:20 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 22 Aug 2024 07:27:22 +0000 (09:27 +0200)
commitcc75772c8beaf6d15a15339df10bfae3953da211
tree71c989d0b55e94bf7c94b268de27e695c30ab2cd
parent459ab71cf9686e4027c1bd2a95c3174ed7aa7e79
Simplify and speed up make-hash-table argument parsing

* src/fns.c (get_key_arg): Remove.
(Fmake_hash_table): Traverse argument list once only.  Don't allocate a
helper array.  Use faster comparisons.

(cherry picked from commit 46f3452b30f39a69f610faab58c1490b34dd367d)
src/fns.c