Skip to content
Snippets Groups Projects
Commit 017ee95c authored by Martin Mareš's avatar Martin Mareš
Browse files

Hash: Note on timeout in Cuckoo hashing

parent 465e17ee
Branches
No related tags found
No related merge requests found
...@@ -635,6 +635,10 @@ $f$,~$g$ chosen at random from a~$\lceil 6\log n\rceil$-independent family. ...@@ -635,6 +635,10 @@ $f$,~$g$ chosen at random from a~$\lceil 6\log n\rceil$-independent family.
Then the expected time complexity of \alg{Insert} is $\O(1)$. Then the expected time complexity of \alg{Insert} is $\O(1)$.
} }
\note{
Setting the timeout to $\lceil 6\log m\rceil$ also works.
}
\note{ \note{
It is also known that a~6-independent family is not sufficient to guarantee It is also known that a~6-independent family is not sufficient to guarantee
expected constant insertion time, while tabulation hashing (even though expected constant insertion time, while tabulation hashing (even though
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment