by gergelykalman · 6y ago · 0 comments
This is absolutely correct, however if this is done in a sufficiently generic programming language, there is a very good chance that falling back on a linked list on collision is a bad idea.
This has been well-researched and most programming languages have chosen a hash algorithm that resists (blind) collision generation, precisely for this reason.
I wrote some code recently to demonstrate this:
No comments yet.