Date: Thu, 05 Mar 2015 17:00:54 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 135718] [patch] enhance qsort(3) to properly handle 32-bit aligned data on 64-bit systems Message-ID: <bug-135718-8-Nh5tXyIPSm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-135718-8@https.bugs.freebsd.org/bugzilla/> References: <bug-135718-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=135718 --- Comment #10 from commit-hook@freebsd.org --- A commit references this bug: Author: pfg Date: Thu Mar 5 17:00:40 UTC 2015 New revision: 279663 URL: https://svnweb.freebsd.org/changeset/base/279663 Log: 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 Changes: head/lib/libc/stdlib/qsort.c -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-135718-8-Nh5tXyIPSm>