diff options
author | pfg <pfg@FreeBSD.org> | 2015-03-05 17:00:39 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2015-03-05 17:00:39 +0000 |
commit | a78cf22f54a349abbf8136ac58d750772a08cd7c (patch) | |
tree | 0f1ae32b8e8587b6a260943a4517d31a6478dde4 /lib/libc/stdlib/ldiv.c | |
parent | a34b7ad0d27c5190fe2e182e71e59556e4bc44d8 (diff) | |
download | FreeBSD-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/ldiv.c')
0 files changed, 0 insertions, 0 deletions