summaryrefslogtreecommitdiff
path: root/sys/modules/lua
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2017-05-19 19:48:19 +0000
committerchristos <christos@NetBSD.org>2017-05-19 19:48:19 +0000
commit60f6acd5fde528b664921188c44a90ca94d38298 (patch)
tree50b6bd457c39e2e0cb661a9633163ab6c2d21d6b /sys/modules/lua
parente6b8d7c648c23bdc8b32510148968cefa1a16124 (diff)
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. (From OpenBSD)
Diffstat (limited to 'sys/modules/lua')
0 files changed, 0 insertions, 0 deletions