[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Better hash function for dict.c
- From: Stefan Behnel <stefan_ml behnel de>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] Better hash function for dict.c
- Date: Fri, 18 Apr 2008 17:38:56 +0200
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]