mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 11:29:02 +00:00
Add a version of `ArrayList` that takes a generic `Allocator` type parameter. This matches the interface of smart pointers like `bun.ptr.Owned` and `bun.ptr.Shared`. This type behaves like a managed `ArrayList` but has no overhead if `Allocator` is a zero-sized type, like `bun.DefaultAllocator`. (For internal tracking: fixes STAB-1267) --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>