Re: [xml] Better hash function for dict.c



Hi Daniel,

Daniel Veillard wrote:
On Thu, Apr 17, 2008 at 10:05:03AM -0400, Daniel Veillard wrote:
  Since you seems to be interested in the performances of the hash 
algorithm, I tried to drop the string comparisons on lookup when possible
I have an old patch for this which I'm enclosing, but I never applied it
since I had problems at the time (can't remember why/where, it's just 
a FYI patch ;-)

only 6 out of 17 hunks of this patch apply against 2.6.32. Also, it does not
seem to know about the GCC optimisation that uses memcmp() instead.

A bit of work to get that working again ...

Stefan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]