diff options
| author | Mattias EngdegÄrd | 2023-11-21 12:27:42 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2024-01-13 20:50:38 +0100 |
| commit | 3b00255a4c70bc1075446c94a8ff65c987ac143f (patch) | |
| tree | c47f8d591ac87bdd1f8ca70c74d5aa11b6ac136c /src/alloc.c | |
| parent | a3ae5653cfe1ab2b3eb4c77ce729844ad442b562 (diff) | |
| download | emacs-3b00255a4c70bc1075446c94a8ff65c987ac143f.tar.gz emacs-3b00255a4c70bc1075446c94a8ff65c987ac143f.zip | |
Inlined and specialised hash table look-up
This improves performance in several ways. Separate functions are
used depending on whether the caller has a hash value computed or not.
* src/fns.c (hash_lookup_with_hash, hash_lookup_get_hash): New.
(hash_lookup): Remove hash return argument.
All callers adapted.
hash_lookup_with_hash hash_hash_t arg
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions