You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We may need a resizing algorithm for resizing the hashtable.
I don't know whether the user should be able to do this on his own, or the set implementation should do this on its own or if there should be both available and configurateable.
The text was updated successfully, but these errors were encountered:
I think a possibilty for the user to resize manually (or trigger a resize by a given factor) should be added. Use case: User creates set, knows he wants to add 100k elements. Triggering a re-size beforehand would increase the speed for the insertions a lot!
Nope, it would not.
The first resize is not before inserting 100 elements.
If you insert 100k elements, this would result in ln_2(1000), so about 10 resizes.
Compared to the insertio of 100k elements, this is peanuts.
We may need a resizing algorithm for resizing the hashtable.
I don't know whether the user should be able to do this on his own, or the set implementation should do this on its own or if there should be both available and configurateable.
The text was updated successfully, but these errors were encountered: