Skip to main content

DICT_FIRST

Constant DICT_FIRST 

Source
pub const DICT_FIRST: usize = 16;
Expand description

The most entries a dict reserves before its first child is read: one for each child up to this many. A dict grows past it geometrically as its children are set, so a read holds no more than this many entries a dict that it has not filled, beyond as many again as it has filled (review round 7: every ReferencedObject level re-entering a ref type of k children held k entries reserved while the next level was read, gigabytes for a few kilobytes of data).