Making code faster: That pesky dictionary

added by DotNetKicks
11/22/2016 1:33:56 PM

2 Kicks, 345 Views

The id that we use has 8 characters, so at most, we can have a hundred million ids. An array of that size would be roughly 762 MB in size, so that is doable. But we also can be fairly certain that the ids are generated in some sequential manner, so there is a strong likelihood that we don't need all of this space.


0 comments