Tag
Stumpalo is a new high-performance bump allocator for Rust that benchmarks significantly faster than existing alternatives like blink and bumpalo across a wide range of allocation operations. It also features scoped stack support and is available as a Rust crate.
This blog post explains the current double free detection mechanism in glibc malloc's per-thread tcache, identifies a flaw that allows cross-thread double frees, and proposes a potential fix using randomized keys per thread.
The article introduces Raven, a new State Space Model (SSM) with selective memory allocation that achieves state-of-the-art performance on recall tasks and demonstrates superior length generalization compared to existing models like SWA.