lua-users home
lua-l archive

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


On Tue, 19 May 2020 at 14:06, Andrea <andrea.l.vitali@gmail.com> wrote:
> Fourth question: how does the seed in the hash helps? For the point above it does not help: collisions on long strings will happen all the same - or am I overlooking something? What is the purpose of the seed then?


yes, it does help.  it makes it harder to intentionally trigger
excessive collisions, since you don't know the exact subset of
characters sampled


-- 
Javier