mirror of
git://git.gnupg.org/gnupg.git
synced 2024-09-24 15:31:41 +02:00
cea6d114b6
* tests/gpgscm/scheme.c (oblist_find_by_name): Keep the list of symbols sorted, return the slot where a new symbol must be inserted on lookup failures. (oblist_add_by_name): Add the new symbol at the given slot. (mk_symbol): Adjust callsite. (gensym): Likewise. (assign_syntax): Likewise. -- Optimize symbol lookups by keeping the lists in the hash table (or the list if compiled with USE_OBJECT_LIST) sorted by the symbol names. Optimize the insertions by passing the slot computed by the lookup to the insertion. Signed-off-by: Justus Winter <justus@g10code.com> |
||
---|---|---|
.. | ||
ffi-private.h | ||
ffi.c | ||
ffi.h | ||
ffi.scm | ||
init.scm | ||
lib.scm | ||
LICENSE.TinySCHEME | ||
main.c | ||
Makefile.am | ||
Manual.txt | ||
opdefines.h | ||
private.h | ||
repl.scm | ||
scheme-config.h | ||
scheme-private.h | ||
scheme.c | ||
scheme.h | ||
t-child.c | ||
t-child.scm | ||
tests.scm |