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

Method new

src/entity/sparse.rs:62–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 #[inline]
61 #[must_use]
62 pub const fn new() -> Self {
63 Self {
64 sparse: SecondaryMap::new(),
65 dense: vec![],
66 }
67 }
68
69 /// Create a new map large enough to hold entity references with an index
70 /// below `max_index`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected