Large binaries #654
Labels
bug
Some API breaks the contract it establishes
help wanted
PR's would be appreciated
subsystem-graphics
Describe the bug
A simple program using quicksilver generates a 23MB binary whose rodata consists mostly of null bytes.
To Reproduce
Compile the following on
--release
:If I take out the
to_renderer
call, the size drops to a more reasonable 6 MB. I think this is happening because theCACHE_DATA
static is getting shoved inside the file's.rodata
, since if I put my own 4M-entry static array in the binary (and then read from it to prevent it from getting optimized out) the binary grows by another 16 MB.Environment and versions (please complete the following information):
The text was updated successfully, but these errors were encountered: