Really? I would count having all system .app compressed on everyone's Mac as widespread use. Yes. I think well-designed, file system-level compression is a very reasonable feature that could be very useful. Unfortunately, that's not really what we implemented in HFS+ or APFS. There's a reason our APIs don't really support compressed files, and that's because their file system implementation means that they aren't fully supported by the entire system. Moreover, everyone loves macOS's compressed .dmg! It's a shame the app bundle I dragged out of it takes more than 2x the space than the distribution .dmg.[1] FYI, part of the reason this works so well is the other side of the same problem that makes it less valuable in the general file system. The file system manages storage in terms of allocation blocks (typically 4kb on our system), each of which is used regardless of the files’ actual contents. You can see this if you create a file with a few bytes of text in it, then Get Info on it using the Finder.
Topic:
App & System Services
SubTopic:
Core OS
Tags: