summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/merge.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2015-03-05 17:00:39 +0000
committerpfg <pfg@FreeBSD.org>2015-03-05 17:00:39 +0000
commita78cf22f54a349abbf8136ac58d750772a08cd7c (patch)
tree0f1ae32b8e8587b6a260943a4517d31a6478dde4 /lib/libc/stdlib/merge.c
parenta34b7ad0d27c5190fe2e182e71e59556e4bc44d8 (diff)
downloadFreeBSD-src-a78cf22f54a349abbf8136ac58d750772a08cd7c.zip
FreeBSD-src-a78cf22f54a349abbf8136ac58d750772a08cd7c.tar.gz
qsort(3): enhance to handle 32-bit aligned data on 64-bit systems
Implement a small enhancement to the original qsort implementation: If the data is 32 bit aligned we can side-step the long type version and use int instead. The change brings a modest but significant improvement in 32 bit workloads. Relnotes: yes PR: 135718 Taken from: ache
Diffstat (limited to 'lib/libc/stdlib/merge.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud