Home GnuPG
Diffusion GnuPG e4583ae14e52

gpgscm: Improve parsing.
e4583ae14e52Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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
rG058c97f9fc48: gpgscm: Fix calculating the line number.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rGe4583ae14e52: gpgscm: Improve parsing. (authored by Justus Winter <justus@g10code.com>).Feb 28 2017, 4:19 PM