gpgscm: Improve parsing.

Authored by justus on Feb 28 2017, 4:19 PM.

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

Committed
justusFeb 28 2017, 4:19 PM
Parents
rE08e1cfddc94a: gpgscm: Fix calculating the line number.
Branches
Unknown
Tags
Unknown