Bump allocated arena with fast drop support
Arena storage with its own basic allocator, managed drop order, efficient and optional drop execution, universal string, list, array, and custom structure/data support.
See more comprehensive writeup in crate documentation.
Below is a single example demonstrating the usage of several key types provided by memur:
- UStr – a universal, zero-terminated UTF-8 string.
- FixedArray – a fixed-size array initialized from an exact-size iterator.
- Array – a dynamic, Vec-like growable array.
- List – a simple, growable collection with non-contiguous storage.
use ;
use CStr;
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.