HomeFreeBSD

libc: Sorting is not needed when there are less than two elements

Description

libc: Sorting is not needed when there are less than two elements

If there are less than two elements avoid executing the first
sorting loop. No functional change intended.

Reviewed by: kib@
MFC after: 1 week
Sponsored by: NVIDIA Networking
Differential Revision: https://reviews.freebsd.org/D39691

Details

Provenance
hselaskyAuthored on Apr 19 2023, 10:18 AM
Differential Revision
D39691: libc: Sorting is not needed when there are less than two elements
Parents
rG409731e7d713: unionfs.5: Use '.An -nosplit' in the AUTHORS section
Branches
Unknown
Tags
Unknown