HomeFreeBSD

qsort(3): enhance to handle 32-bit aligned data on 64-bit systems

Description

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

Details

Provenance
pfgAuthored on
Parents
rS279662: Make at(1) and related tools an individual package
Branches
Unknown
Tags
Unknown

Event Timeline