aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes/java
diff options
context:
space:
mode:
authorMattias EngdegÄrd2023-11-04 15:16:38 +0100
committerMattias EngdegÄrd2024-01-13 20:50:38 +0100
commit49fd4d120deb0b878ad262aea7d849c7275bc12c (patch)
tree24c0547020d3283722b610fe5b13ae10f95c8524 /admin/notes/java
parentd3cefd3e98354929d96c9396e5920e8a123784dc (diff)
downloademacs-49fd4d120deb0b878ad262aea7d849c7275bc12c.tar.gz
emacs-49fd4d120deb0b878ad262aea7d849c7275bc12c.zip
Allow zero hash table size
This avoids any extra allocation for such vectors, including empty tables read by the Lisp reader, and provides extra safety essentially for free. * src/fns.c (make_hash_table): Allow tables to be 0-sized. The index will always have at least one entry, to avoid extra look-up costs. * src/alloc.c (process_mark_stack): Don't mark pure objects, because empty vectors are pure.
Diffstat (limited to 'admin/notes/java')
0 files changed, 0 insertions, 0 deletions