summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorjsing <>2017-05-07 05:03:41 +0000
committerjsing <>2017-05-07 05:03:41 +0000
commitb238007c9db07d24cda00ffe301ec662ec5e1cc3 (patch)
tree4f5e65dc841d29bbac9f1fde247588e1d1bed3c3 /src/lib/libc
parent2439ee31e965a96d3685f362e5a32d365a9e5eaa (diff)
downloadopenbsd-b238007c9db07d24cda00ffe301ec662ec5e1cc3.tar.gz
openbsd-b238007c9db07d24cda00ffe301ec662ec5e1cc3.tar.bz2
openbsd-b238007c9db07d24cda00ffe301ec662ec5e1cc3.zip
Instead of starting a 'zero-sized' CBB at the size of the first addition
to the CBB, then doubling, start with an initial size of 64 bytes. Almost all uses will exceed this size and we avoid multiple small recallocarray() calls during the initial usage. ok beck@
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions