Re: General Hash Functions In Python

2006-07-17 Thread Arash Partow
Sethi, Monica Lam, Jeffrey D. Ullman, ISBN 0321131436. > > Hash unsigned X into H, using the temporary variable G. G and H are > unsigned variables; X may be an expression. G is nonzero e.g. 92% of > time, so a conditional expression would be slower. As noted by Josh > Bloch, 28 is the

Re: General Hash Functions In Python

2006-07-17 Thread Arash Partow
I would like to but I think my lack of language and time will be a barrier. Also I don't believe there is much material there to warrant a technical write up. Arash Partow Be one who knows what they don't know, Instead of bei

Re: General Hash Functions In Python

2006-07-17 Thread Arash Partow
eof to calc the th's which i couldn't find a way of doing, so i fudged it in the hope that maybe sometime in the future a work around of sorts could be developed. Again this was just a simple posting, I hoped to maybe gets some comments and may present some ideas to people, I don't exp

Re: General Hash Functions In Python

2006-07-17 Thread Arash Partow
That is true, but I'm not about to do something that might potentially prove my point wrong... :) Arash Partow Be one who knows what they don't know, Instead of being one who knows not what they don't know, Thinking they

Re: General Hash Functions In Python

2006-07-17 Thread Arash Partow
he kind of data. Arash Partow Be one who knows what they don't know, Instead of being one who knows not what they don't know, Thinking they know everything about all things. http://www.partow.net Paul Rubin wrote: > "Ara

Re: General Hash Functions In Python

2006-07-17 Thread Arash Partow
Partow Be one who knows what they don't know, Instead of being one who knows not what they don't know, Thinking they know everything about all things. http://www.partow.net Paul Rubin wrote: > "Arash Partow" <

General Hash Functions In Python

2006-07-16 Thread Arash Partow
0') print ELFHash ('abcdefghijklmnopqrstuvwxyz1234567890') print BKDRHash('abcdefghijklmnopqrstuvwxyz1234567890') print SDBMHash('abcdefghijklmnopqrstuvwxyz1234567890') print DJBHash ('abcdefghijklmnopqrstuvwxyz1234567890') print DEKHash ('abcdefghij