Skip to content

Regarding erased_key_sentinel in static map #600

Answered by avithemad
sleeepyjack asked this question in Q&A
Discussion options

You must be logged in to vote

I think I got the reason. The hash table they implement in crystal is just 1D array similar to a bloom filter, therefore they get comparable performance. I think this performance of empty probe is reasonable assuming uniform distribution of probing.
Thank you for clarifying about the performance.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@avithemad
Comment options

Comment options

You must be logged in to vote
3 replies
@avithemad
Comment options

@avithemad
Comment options

Answer selected by sleeepyjack
@sleeepyjack
Comment options

sleeepyjack Sep 10, 2024
Maintainer Author

Comment options

You must be logged in to vote
1 reply
@sleeepyjack
Comment options

sleeepyjack Sep 11, 2024
Maintainer Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
topic: static_map Issue related to the static_map
2 participants