A question: do you have to walk through them, or can you just do a single hash table lookup to see if the current position is in the table?I now walk through them but I can easily envisage a method where I do a single lookup or worst-case 2 or 3 lookups.
I maintain 16 hashes.How do you do invariance? Some canonical form?