Compressed binary?!

projucer

#1

Hi, we are using additional build steps to compress the binaries the Projucer than places into BinaryData. Would it be an option to let the Projucer compress (zlib) them?


#2

yeah, thats a stupid idea! Don’t ever consider it! Who would want that?


#3

It’s a good idea!

I’ve considered it in the past, though in general I think it’s a bad idea to try to keep the binary size small - in almost all cases it’d make more sense to have a large binary that doesn’t require run-time decompression, and leave compression to the installer/package to do the compression on your whole binary. Because after all, once on disk the binary size isn’t a big deal, it’s just the process of getting it to a user where you need to compress, and that stage is normally already compressed pretty well.