pub fn with_capacity(capacity_in_bytes: usize) -> Self {
        let generation = NEXT_GENERATION.fetch_add(1, Ordering::SeqCst);
        let capacity_in_words = max(2, capacity_in_bytes / std::mem::size_of::<Value<'_>>());
        Self {
            generation,
            current_chunk: RefCell::new(Chunk::with_capacity(capacity_in_words)),
            cache: MemoizationCache::new(),
        }
    }
/// Create a new Arena with `capacity_in_bytes` preallocated.
Create a new Arena with `capacity_in_bytes` preallocated.
Create a new Arena with ` capacity_in_bytes ` preallocated .
pub fn with_capacity(capacity_in_bytes: usize) -> Self {
        let generation = NEXT_GENERATION.fetch_add(1, Ordering::SeqCst);
        let capacity_in_words = max(2, capacity_in_bytes / std::mem::size_of::<Value<'_>>());
        Self {
            generation,
            current_chunk: RefCell::new(Chunk::with_capacity(capacity_in_words)),
            cache: MemoizationCache::new(),
        }
    }
pub fn with_capacity ( capacity_in_bytes : usize ) -> Self { let generation = NEXT_GENERATION . fetch_add ( 1 , Ordering :: SeqCst ) ; let capacity_in_words = max ( 2 , capacity_in_bytes / std :: mem :: size_of :: < Value < ' _ > > ( ) ) ; Self { generation , current_chunk : RefCell :: new ( Chunk :: with_capacity ( capacity_in_words ) ) , cache : MemoizationCache :: new ( ) , } }
Create a new Arena with `capacity_in_bytes` preallocated.
Create a new Arena with ` capacity_in_bytes ` preallocated .
capacity_in_bytes
usize
capacity_in_bytes
usize