3 ms·
Principal component analysis and then ignoring the least important components is the only compression technique I know. Hope it helps.
by tormeh 12y ago
Principal component analysis and then ignoring the least important components is the only compression technique I know. Hope it helps.
- sampo 12y agoWell 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.