http://bugs.grommit.com/show_bug.cgi?id=640





------- Comment #2 from roland.mainz at nrubsig.org  2009-09-29 08:11 PDT 
-------
Created an attachment (id=344)
 --> (http://bugs.grommit.com/attachment.cgi?id=344&action=view)
Prototype patch for a "fast path" for "cksum"

Note that the changes to usr/src/lib/libsum/common/sumlib.c have the same
performance benefit than using the hardcoded table in
usr/src/lib/libsum/common/sum-crc.c.
It seems the usage of |sfsprintf()|+|strmatch()| is _very_ expensive in this
codepath... ;-/


-- 
Configure bugmail: http://bugs.grommit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
You are the assignee for the bug, or are watching the assignee.

Reply via email to