Home GnuPG

gpgscm: Avoid fruitless garbage collection cycles.

Description

gpgscm: Avoid fruitless garbage collection cycles.

* tests/gpgscm/scheme-private.h (CELL_MINRECOVER): New macro.
* tests/gpgscm/scheme.c (_get_cell): Move the heuristic to get more
cells...
(gc): ... here where every caller benefits from the optimization.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Apr 20 2017, 3:04 PM
Parents
rEe71c0d39d2fb: gpgscm: Fix test program.
Branches
Unknown
Tags
Unknown