fitzgen / bumpalo

A fast bump allocation arena for Rust
https://docs.rs/bumpalo
Apache License 2.0
1.35k stars 110 forks source link

Do not allocate empty chunk #156

Closed stepancheg closed 2 years ago

stepancheg commented 2 years ago

Bump::new should not allocate. This is useful when we need quick temporary storage and we don't know if we need to allocate or not.

stepancheg commented 2 years ago

Rebased.

stepancheg commented 2 years ago

@fitzgen when is the next release planned?

fitzgen commented 2 years ago

https://github.com/fitzgen/bumpalo/pull/159