Skip to main content

acquire

Function acquire 

Source
pub fn acquire(size: usize) -> Vec<f64>
Expand description

Acquire a zeroed buffer of size f64 elements from the thread-local pool.

If a buffer of the exact capacity is available in the pool, it’s reused (avoiding malloc). Otherwise a new buffer is allocated.