MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / put

Method put

crates/data-structures/src/object_pool.rs:89–91  ·  view source on GitHub ↗

Puts back an object into the pool.

(&self, object: T)

Source from the content-addressed store, hash-verified

87
88 /// Puts back an object into the pool.
89 pub fn put(&self, object: T) {
90 self.inner.put(object);
91 }
92
93 /// Puts back an object into the pool.
94 pub fn put_many(&self, objects: impl Iterator<Item = T>) {

Callers 2

put_manyMethod · 0.45
pool_returns_same_objFunction · 0.45

Calls 4

incFunction · 0.70
heap_usageMethod · 0.45
is_okMethod · 0.45
pushMethod · 0.45

Tested by 1

pool_returns_same_objFunction · 0.36