MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / reserve

Method reserve

src/entity/primary_map.rs:179–181  ·  view source on GitHub ↗
(&mut self, additional: usize)

Source from the content-addressed store, hash-verified

177 /// Reserves capacity for at least `additional` more elements to be inserted.
178 #[inline]
179 pub fn reserve(&mut self, additional: usize) {
180 self.elems.reserve(additional);
181 }
182
183 /// Reserves the minimum capacity for exactly `additional` more elements to be inserted.
184 #[inline]

Callers 1

computeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected