Expand description
ListAccumulator — unknown-length list construction with bounded stack usage.
Unlike ListBuilder which requires knowing the size at construction,
ListAccumulator supports dynamic growth via push. It uses
ReprotectSlot internally to maintain O(1) protect stack usage.
Structs§
- List
Accumulator - Accumulator for building lists when the length is unknown upfront.
Functions§
- collect_
list ⚠ - Collect an iterator into an R list with bounded protect stack usage.