https://github.com/MINGtoMING/tiny_array_list
`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.
https://github.com/MINGtoMING/tiny_array_list
Last synced: about 1 year ago
JSON representation
`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.
- Host: GitHub
- URL: https://github.com/MINGtoMING/tiny_array_list
- Owner: MINGtoMING
- License: apache-2.0
- Created: 2024-11-04T19:57:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-05T04:24:02.000Z (over 1 year ago)
- Last Synced: 2024-11-14T09:07:00.440Z (over 1 year ago)
- Language: Zig
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
Awesome Lists containing this project
- awesome-zig - tiny_array_list🗒️Inline buffer-based, auto-heap-transitioning ArrayList variant optimized for small, frequent data interactions.