Home GnuPG
Diffusion GnuPG 2e78aa6ff770

gpgscm: Tune the hash tables.
2e78aa6ff770Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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
rGb85d509a8f5c: gpgscm: Optimize environment lookups and insertions.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG2e78aa6ff770: gpgscm: Tune the hash tables. (authored by Justus Winter <justus@g10code.com>).Jan 31 2017, 6:49 PM