BUCKETS

Constant BUCKETS 

Source
pub const BUCKETS: usize = 1024;
Expand description

How many counters exist, for all actors, forever.

A power of two so the index is a mask. 1,024 × 16 bytes is 16 KiB, which is small enough that the table never has to be swept, resized or evicted from — and “never has to be swept” is the property that makes this bounded rather than merely large.