Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jzawodn
· 16y ago · 0 comments
I figured it'd be useful to do... just need to block off a bit of time. Perhaps in the next 24 hours if I'm lucky.
Comments
[–]
yosh
16y ago
I've noticed that sorted sets have noticeably more overhead than the other types.
[–]
subwindow
16y ago
If that's true, I wonder why. Maybe is they are trying to get O(1) access? Storing it the 'default' way would be O(log n) which isn't bad, but might still be unacceptable.
[–]
subwindow
16y ago
Ah, I found my answer. Sets are stored in both a skip list and a hash table. So the overhead is indeed high.