by itamarst · 4mo ago · 0 comments
Binary search does give random access but in this case there's only up to 255 buckets typically, so it's random access on cached memory.
Agreed on linear vs n log n, ofc, and streaming considerations might also be relevant