Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
im3w1l
on Sept 24, 2014
|
parent
|
context
|
favorite
| on:
Relativistic hash tables
I think if you insert an element during iteration, it is unpredictable whether said element will be visited during the iteration or not, so it is probably a bad idea even if you wont have a resize.
seabee
on Sept 24, 2014
[–]
It's a bad idea if you don't have a well-defined mode of operation; for example, you're fine if the hash table uses copy-on-write semantics.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: