by dylan604 · 1y ago · 0 comments
I'm not a codec developer, I'm only coming at this from an outside/intuitive perspective. Generally, performance concerned parties want to minimize heap allocations, so I'm interested in this as how it applies in codec architecture. Codecs seem so complex to me, with so much inscrutable shit going on, but then heap allocations aren't optimized out? Seems like there has to be a very good reason for this.
That's not quite the case for encoding - that's where things get murky since you have way more freedom at what you can do to compress better.
There's a heck of a lot of distance from “not a lot” to “zero”, though.