I know it's a terrible hash, but somehow it seems to have worked well.  That said, I'm guessing the speed is mostly limited by memory access at some point, so maybe some other logic op could be fairly cheap.

-[Unknown]