Home GnuPG

gpgscm: Improve parsing.

Description

gpgscm: Improve parsing.

* tests/gpgscm/scheme.c (port_increment_current_line): Avoid creating
the same integer if the delta is zero.  This happens a lot during
parsing, and puts pressure on the memory allocator.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Feb 28 2017, 4:19 PM
Parents
rE08e1cfddc94a: gpgscm: Fix calculating the line number.
Branches
Unknown
Tags
Unknown