Best way to store boolean values to save memory in python

前端 未结 3 1882
闹比i
闹比i 2021-01-22 15:32

What is the best way to store between a million to 450,000 Boolean values in a dictionary like collection indexed by a long number? I need to use the least amount of memory pos

3条回答
提交回复
热议问题