lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Bulat Ziganshin wrote:
> > Selecting only up to 3*4 bytes was fast, but not good enough. See
> why not use those 12 bytes from the *center* of string?

But that's why it failed on URLs. The front is 'http', the back is
'html'. And the center is some common part of the path higher up
in the hierarchy. Now, if the URLs are the same length we get a
100% collision probability. :-/

BTW: There's no need to CC me for on-list postings. :-)