John Arbash Meinel wrote: [...] > > I don't know if the strings have already cached their hashes, or just if the > python hash function is just that much faster to compute. I'm wondering if it > computes it by long, rather than by character... I believe string objects in Python cache their hash value. -Andrew.