Expand description
A reference counted, partial view of an allocation
A SlabSliceArc
is used to provide a view onto a portion of a SlabArc
,
without sharing the entire allocation. It shares the same reference count
as the underlying SlabArc
, meaning the underlying SlabArc
will not be
freed if there are only SlabSliceArc
s remaining. The underlying memory
is freed for reuse automatically when the reference count reaches zero.
Structsยง
- Slab
Slice Arc - A partial view, reference counted, BSlab allocated chunk of bytes.
- Slab
StrArc - A partial view, reference counted, BSlab allocated string slice