MCPcopy Create free account
hub / github.com/cosdata/cosdata / new

Method new

src/models/fixedset.rs:8–12  ·  view source on GitHub ↗
(len: usize)

Source from the content-addressed store, hash-verified

6impl PerformantFixedSet {
7 #[inline]
8 pub fn new(len: usize) -> Self {
9 Self {
10 buckets: vec![0; len],
11 }
12 }
13
14 #[inline]
15 pub fn insert(&mut self, value: u32) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected