]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r279663,r279666 (pfg):
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 31 May 2017 06:13:33 +0000 (06:13 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 31 May 2017 06:13:33 +0000 (06:13 +0000)
commit0dfca208c7ed6cdda4ea64696276056735078ce3
tree0ff915d7b41d0cbf3d4da69bc92aef0834e78536
parentefb95a3f1661efe6fd52c59b43530ae0b17396e3
MFC r279663,r279666 (pfg):

r279663:

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.

r279666:

qsort(3): small style(9) cleanups.

Basically spaces vs. tabs.
No functional change.

git-svn-id: svn://svn.freebsd.org/base/stable/10@319289 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/stdlib/qsort.c