• owenfromcanada@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 months ago

    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.