Home GnuPG
Diffusion GnuPG e0cbd3389e2d

gpgscm: Recover cells used to maintain interpreter state.
e0cbd3389e2dUnpublished

Unpublished Commit ยท Learn More

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

Description

gpgscm: Recover cells used to maintain interpreter state.

* tests/gpgscm/scheme.c (free_cell): New function.
(free_cons): Likewise.
(_s_return): Use the new function to recover cells used to save the
state of the interpreter in 's_save'.  This reduces the need to do a
garbage collection considerably.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Nov 10 2016, 2:02 PM
Parents
rGd3a98ff5bc97: gpgscm: Reduce opcode dispatch overhead.
Branches
Unknown
Tags
Unknown