summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/strtoll.c
diff options
context:
space:
mode:
authormillert <>2017-05-17 16:58:20 +0000
committermillert <>2017-05-17 16:58:20 +0000
commit2b54a8bc04e76c465705df661ebf37030e912cf7 (patch)
treef256f67a434b6ca737c2dab4a6baeee7e31d2e88 /src/lib/libc/stdlib/strtoll.c
parentbac6e1ad0629e1e4f0cbfabe2ebebe667f4dcad5 (diff)
downloadopenbsd-2b54a8bc04e76c465705df661ebf37030e912cf7.tar.gz
openbsd-2b54a8bc04e76c465705df661ebf37030e912cf7.tar.bz2
openbsd-2b54a8bc04e76c465705df661ebf37030e912cf7.zip
The BSD qsort() performs tail recursion elimination on the second
side of the array being partitioned to save on stack space. Greater savings can be gained by choosing recursion for the smaller side of the partition and eliminating recursion for the larger side. This also results in a small but measurable performance gain. OK otto@ schwarze@
Diffstat (limited to 'src/lib/libc/stdlib/strtoll.c')
0 files changed, 0 insertions, 0 deletions