#question about binary size
1 messages · Page 1 of 1 (latest)
any static array that isn't initialized to all zeros must be present in the binary, theres nowhere else to store it
embedfile compressed data - trade binary size for runtime allocation and decompression, but really, I don't quite understand the obsession with stuffing everything into one file.
or just fill the array at runtime
True, could have a large static array in bss, and read into it, if a one-time allocation is a problem for you. What slow in allocations is doing a lot of them.