summaryrefslogtreecommitdiff
path: root/src/test/test_consdiff.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-03-07 18:43:49 -0500
committerNick Mathewson <nickm@torproject.org>2017-03-16 14:42:56 -0400
commit52fa6bb9475251179430c43d3342279b08f7619d (patch)
tree1f13d86e71d813cb21e05ca732d199f936f86670 /src/test/test_consdiff.c
parentb36e311eabcccecdb33a7c525d037409579f88cf (diff)
downloadtor-52fa6bb9475251179430c43d3342279b08f7619d.tar.gz
tor-52fa6bb9475251179430c43d3342279b08f7619d.zip
Swap memory allocation strategy for lists of lines for diffs
Now we use a single allocation block for all the lines, rather than calling strdup on them one at a time. This should help performance a tiny bit.
Diffstat (limited to 'src/test/test_consdiff.c')
0 files changed, 0 insertions, 0 deletions