50 ms·
Well that is a lossy compression, can work nicely to some data (e.g. images), but totally irrelevant in the context of source code compression.
by sampo 12y ago
Well that is a lossy compression, can work nicely to some data (e.g. images), but totally irrelevant in the context of source code compression.
- tormeh 12y agoWell, he didn't say he only wanted non-lossy compression or that he was working on source code compression.
- vardump 12y agoLossy compression might be just fine for source code, as long as the lossy part is still functionally equivalent. Think 1000.0 vs 1E3, printf("foo") vs puts("foo"), etc.
- mistercow 12y agoAnd in fact, RegPack is lossy compression (as are all minifiers). The transformation is totally irreversible.