@verysuchaccount to Programmer [email protected]English • 11 months agoSometimes I want to call malloc, just as a treatimagemessage-square28arrow-up1582arrow-down18
arrow-up1574arrow-down1imageSometimes I want to call malloc, just as a treat@verysuchaccount to Programmer [email protected]English • 11 months agomessage-square28
minus-square@owenfromcanadalinkEnglish3•10 months agoI’d effectively gain the advantage of dynamic allocation by using a union (or just a generic unsigned char buffer[16384] and use it twice). Mostly the same thing as a malloc.
I’d effectively gain the advantage of dynamic allocation by using a union (or just a generic
unsigned char buffer[16384]
and use it twice). Mostly the same thing as a malloc.