5 ms·
> This article (and the previous one) is a little weird Yeah, the whole "I'm going to free an object in an arena." is very confusing to me. You free an arena,
by bsder 1mo ago
> This article (and the previous one) is a little weird
Yeah, the whole "I'm going to free an object in an arena." is very confusing to me.
You free an arena, or you don't. There is no granularity below that if you're using an arena.
I get it. It's an incredibly tempting abstraction break to just let normal resize/free work on the last allocation. However, it is an abstraction break and has nasty edge cases like this.