Home GnuPG

gpgscm: Tune the hash tables.

Description

gpgscm: Tune the hash tables.

* tests/gpgscm/scheme.c (oblist_initial_value): Increase the size of
the hash table based on the number of symbols used after initializing
the interpreter.
(new_frame_in_env): Increase the size of the hash table based on the
number of variables in the global environement.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Jan 31 2017, 6:45 PM
Parents
rEfa2363d9d903: gpgscm: Optimize environment lookups and insertions.
Branches
Unknown
Tags
Unknown