News for hackers. Stuff that matters.
Re:The One Billion Row Challenge in CUDA: from 17 minutes to... by Sesse__ on Sunday April 14, 2024 @10:55AM (#40031532)
If the set of cities is known (as your binary search algorithm assumes), you can insert all of them first, on the CPU. That will resolve all collisions ahead of time, making the structure of the hash table essentially read-only. (Of course, you would still need atomics for the values.)

There are no comments on this comment yet.