gpgscm: Avoid fruitless garbage collection cycles.

Authored by justus on Apr 20 2017, 3:04 PM.

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

Committed
justusApr 24 2017, 2:14 PM
Parents
rEe71c0d39d2fb: gpgscm: Fix test program.
Branches
Unknown
Tags
Unknown