Thread (31 messages) flat view 31 messages, 7 authors, 2016-06-15

Re: I'm a total push-over..

From: Dmitry Potapov <hidden>
Date: 2016-06-15 22:44:08

On Jan 24, 2008 7:00 PM, Andreas Ericsson [off-list ref] wrote:
Marko Kreen wrote:
quoted
Jenkins hash is fast because it does not look at individual bytes.
If you _do_ want to look at them for unrelated reasons, (case-insensitive,
unicode-juggling), then it obiously loses the point.  That is, if you
want to process the string in one go.
I believe the ability to add unicode-juggling was a major point
with the patch, so perhaps Jenkins' isn't such a good option.
I don't think you can any meaningful unicode-juggling without converting
symbols to UCS-4, and after that it makes much more sense to operate
with uint32 than bytes. So, Jenkins' hash is still relevant, just because
it does not operate on single bytes, but using uint32.

Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help