gpgscm: Improve parsing.
authorJustus Winter <justus@g10code.com>
Tue, 28 Feb 2017 15:19:18 +0000 (16:19 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 28 Feb 2017 15:19:18 +0000 (16:19 +0100)
commite4583ae14e52482ab390c102d071755f91ab211d
tree30f28c89237eee0e13ea8425fd696613b9f68259
parent058c97f9fc485405246b1adfcc905c1891550652
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>
tests/gpgscm/scheme.c