First release of bumpalo-herd


I'd like to announce the first release of bumpalo-herd.

I've used the bumpalo crate for bump allocation before and I was always bit annoyed it is mostly incompatible with rayon or scoped threads.

I wrote the bumpalo-herd crate that builds on top of it and makes it possible:

let ints: Vec<&mut usize> = (0usize..1_000)
    .map_init(|| herd.get(), |bump, i| {

Looks nice! I'm happy to see a new use for map_init, since that's kind of a funny construct.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.