3 ms·
Sounds like a recipe for disaster. Why not just zero buffers on construction; if you can't afford the performance penalty of memset then you could always manage
by 0x0 11y ago
Sounds like a recipe for disaster. Why not just zero buffers on construction; if you can't afford the performance penalty of memset then you could always manage a pool of pre-allocated Buffers in your super performant module, which would make it even more obvious to a casual reader.