rustc-arena-modified: rustc-arena ported to stable rust with additional features

CI Crate information License Documentation

Forked from rustc_arena

Why would you want this?

What about typed-arena and bumpalo?

What is it?

A port of rustc_arena into stable rust with the following new features:

Safety

This library makes heavy use of unsafe and isn't fully tested with MIRI. There are tests for most operations and edge cases, and the base functionality is copied almost verbatim from rustc_arena which is very well-tested. But the extra functionality is much less tested, and especially with the heavy use of unsafe, it shouldn't be used in production.

Benchmarks

Overall, performs around the same speed as rustc_arena and typed_arena, except iteration is significantly faster than typed_arena. slab_arena performs noticeably slower.

Full Report

alloc alloc<em>from</em>iter iter into_vec

License

Licensed under either of

at your option.

Forked from rustc-arena (Github), which is also licensed under MIT "or" Apache 2.0.

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.