e.g. to reduce startup time of an applications. Reproducible: Always
guess we could add something like: PORTAGE_CRUSH_<filetype>="<program> \"\${INPUT}\" \"\${OUTPUT}\"" then we'll execute this once for every file ending in ".<filetype>" with $INPUT and $OUTPUT set. if the program returns an error, we silently ignore it and move on. if the $OUTPUT is not actually smaller than $INPUT, then we ignore it. i would say do it based on mime type, but that's prone to false positives. should we restrict this to specific paths like /usr/share ? can't see why we would ...