boxcar
boxcar copied to clipboard
A concurrent, append-only vector.
Currently threads allocate the next bucket when the last bucket is full, we can instead allocate at half-way/three-quarters into the last bucket to avoid contention. This may make it more...
Right now each entry has an `AtomicBool`, which can waste a lot of memory depending on the alignment of `T`.
👋 I'd appreciate if there was a changelog so I could review dependency updates without reading all the commits.
Just to track this so it doesn't get lost. Was looking into this and it appears a bit more complicated than initially thought. A few thoughts on what would help...
Apologies for the rewrite-your-entire-crate PR, but you did say I could do this =) In this PR, we split the logic of `Vec` into two parts: an underlying `Buckets` type,...
so i am making an arena allocator for something and boxcar has been a life saver. runing ```rust pub fn alloc(&self,s:String)->&str{ self.vec.get(self.0.push(s)).unwrap() } ``` does wonders its like SO simple...
Adds `Vec::push_many`, which allows batch appending elements to the vector.