[Bug 135718] [patch] enhance qsort(3) to properly handle 32-bit aligned data on 64-bit systems

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 5 17:00:54 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=135718

--- Comment #10 from commit-hook at 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.


More information about the freebsd-bugs mailing list