| Crates.io | allocandrescu |
| lib.rs | allocandrescu |
| version | 0.1.0-alpha.4 |
| created_at | 2024-07-27 10:56:03.381349+00 |
| updated_at | 2024-07-28 19:52:56.703772+00 |
| description | A collection of various allocators and allocator combinators. |
| homepage | |
| repository | https://github.com/wiktorwieclaw/allocandrescu |
| max_upload_size | |
| id | 1317181 |
| size | 36,740 |
A collection of various allocators and allocator combinators inspired by Andrei Alexandrescu's CppCon 2015 talk std::allocator Is to Allocation what std::vector Is to Vexation and the Zig programming language.
allocandrescu allows you to safely compose allocators using combinators such as
cond and fallback.
It also provides a bunch of simple allocators like Stack.
This crate depends on allocator-api2, a polyfill for the unstable allocator_api feature.