A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006005.html below:

[Python-Dev] new unicode hash calculation

[Python-Dev] new unicode hash calculation [Python-Dev] new unicode hash calculationFredrik Lundh Fredrik Lundh" <effbot@telia.com
Mon, 10 Jul 2000 20:31:01 +0200
mal wrote:
> It should be done in such a way that Unicode strings which
> only use the lower byte produce the same hash value as
> normal 8-bit strings -- is this the case for the above code ?

yup.  it's the same algorithm as for 8-bit strings, but
using larger characters.   as long as the high bits are
zero, it (obviously) gives the same result.

guido:
> Good enough for me.

I'll interpret that as a "okay, check it in".

</F>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4