On Sun, 2007-06-05 at 21:30 -0400, Tom Lane wrote:
> It'd be a good idea if you repeat the previous number-of-collisions
> experiment on this code.

I repeated the same experiment, and got essentially the same number of
collisions (829 collisions on ~2 million randomly generated numerics,
with 273 duplicates). Since the modified hash still uses hash_any() and
really only differs when there are leading/trailing zeros, this is
consistent with what I'd expect.

Patch applied to HEAD.

-Neil



---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to