Function avalanche_types::ids::node::new_set
source · pub fn new_set(size: usize) -> Set
Expand description
Return a new NodeIdSet with initial capacity [size]. More or less than [size] elements can be added to this set. Using NewNodeIDSet() rather than ids.NodeIDSet{} is just an optimization that can be used if you know how many elements will be put in this set.