summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2025-01-29 20:34:26 -0800
committerKaz Kylheku <kaz@kylheku.com>2025-01-29 20:34:26 -0800
commite068f31a5eb62c12a55f847db5b8ba2b88e36d05 (patch)
tree56db90fc431f46238669845970b0cbccf054b48c /tests
parentf8658bd4898f415de90f50121afe42a6cad50910 (diff)
downloadtxr-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