I have about 10million values that I need to put in some type of look up table, so I was wondering which would be more efficient a list or dict?
I know
set() is exactly what you want. O(1) lookups, and smaller than a dict.