[Python-Dev] new unicode hash calculation
Fredrik Lundh" <firstname.lastname@example.org
Mon, 10 Jul 2000 20:31:01 +0200
> 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.
> Good enough for me.
I'll interpret that as a "okay, check it in".