MCPcopy Create free account
hub / github.com/PerroEngine/Perro / reserve

Method reserve

perro_source/runtime_project/perro_runtime/src/cns/node_arena.rs:143–148  ·  view source on GitHub ↗

Reserve slots for additional node inserts.

(&mut self, additional: usize)

Source from the content-addressed store, hash-verified

141 tags_hash(&node.tags),
142 node.parent,
143 node.node_type(),
144 self.old_children_len != node.children.len()
145 || self.old_children_hash != children_hash(&node.children),
146 )
147 };
148
149 if self.old_name_hash != new_name_hash {
150 self.arena.unindex_name_hash(self.old_name_hash, self.id);
151 if !name_empty {

Callers 15

prepareMethod · 0.45
reserve_queued_rectsMethod · 0.45
flush_shape_packetsMethod · 0.45
prepareMethod · 0.45
prepareMethod · 0.45
reserve_queued_drawsMethod · 0.45
stage_custom_paramsMethod · 0.45
prepareMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected