summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authorjsing <>2017-05-07 05:03:41 +0000
committerjsing <>2017-05-07 05:03:41 +0000
commitad1b182fb82eec32f3f5d1da1c2da2e628439d02 (patch)
tree4f5e65dc841d29bbac9f1fde247588e1d1bed3c3 /src/lib/libc/stdlib
parent3b455600d14ddcf2be0dcd2d4765d1b7854cd1c5 (diff)
downloadopenbsd-ad1b182fb82eec32f3f5d1da1c2da2e628439d02.tar.gz
openbsd-ad1b182fb82eec32f3f5d1da1c2da2e628439d02.tar.bz2
openbsd-ad1b182fb82eec32f3f5d1da1c2da2e628439d02.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/stdlib')
0 files changed, 0 insertions, 0 deletions