Tiny Array List

November 4, 2024 ยท View on GitHub

TinyArrayList is a modified version of std.ArrayList that initially uses a fixed-size inline buffer for data storage. It only transitions to heap memory when the data size surpasses the buffer capacity, effectively minimizing heap allocation overhead for small data sizes.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.