diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2025-01-29 20:34:26 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2025-01-29 20:34:26 -0800 |
commit | e068f31a5eb62c12a55f847db5b8ba2b88e36d05 (patch) | |
tree | 56db90fc431f46238669845970b0cbccf054b48c /tests | |
parent | f8658bd4898f415de90f50121afe42a6cad50910 (diff) | |
download | txr-e068f31a5eb62c12a55f847db5b8ba2b88e36d05.tar.gz txr-e068f31a5eb62c12a55f847db5b8ba2b88e36d05.tar.bz2 txr-e068f31a5eb62c12a55f847db5b8ba2b88e36d05.zip |
mkstring: minimum 7 char alloc size.
* lib.c (mkstring): Do not allocate less than 8 characters,
including null terminator, to the string. This speeds up code
which builds up strings from empty, one character at a time.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions