[Bug 230792] sort -R, --random-source issues

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 13 04:42:34 UTC 2019


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

--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:

Author: cem
Date: Sat Apr 13 04:42:18 UTC 2019
New revision: 346175
URL: https://svnweb.freebsd.org/changeset/base/346175

Log:
  sort(1): Memoize MD5 computation to reduce repeated computation

  Experimentally, reduces sort -R time of a 148160 line corpus from about
  3.15s to about 0.93s on this particular system.

  There's probably room for improvement using some digest other than md5, but
  I don't want to look at sort(1) anymore.  Some discussion of other possible
  improvements in the Test Plan section of the Differential.

  PR:           230792
  Reviewed by:  jhb (earlier version)
  Differential Revision:        https://reviews.freebsd.org/D19885

Changes:
  head/usr.bin/sort/coll.c
  head/usr.bin/sort/coll.h
  head/usr.bin/sort/sort.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list