In many contracts, notably voting, there is a mapping
of the kind mapping(address => bool) voted;
How many voters can be registered in that way? is there a size limit? will the contract need more and more gas for each query until it reaches the maximum gas limit?
what would happen if there are 100 million voters for example?