Home GnuPG

gpgscm: Recover cells used to maintain interpreter state.

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
rEf65fb1672471: gpgscm: Reduce opcode dispatch overhead.
Branches
Unknown
Tags
Unknown