# will have 512 users in %users
keys(%users) = 512;
Perl's internal data structures require the number of keys to be a
power of 2. If we had said:
keys(%users) = 1000;
Perl would have internally allocated 1024 "buckets" for the hash.
Keys and buckets aren't always one to one. You get the best
performance when they are, but the distribution of keys to buckets is
dependent on your keys and Perl's (immutable) hash algorithm.