Comment on How we store 400M phone numbers with fast lookupComments−alexeyshurygin11yDoes it worth mentioning? Straightforward approach of storing numbers in a hash map in memory solves the problem. This may require say 40 Gb of ram w/o ANY optimizations.−GFK_of_xmaspast11yWhy would you do that when you can just keep a 10B-long bit vector.
Comments
Does it worth mentioning? Straightforward approach of storing numbers in a hash map in memory solves the problem. This may require say 40 Gb of ram w/o ANY optimizations.
Why would you do that when you can just keep a 10B-long bit vector.