shevek/lzo-java — pull request #1 by clayrat (2014-11-11 15:46:35+00:00)
Title: Add LZO1X999 compressor

I've noticed that lzo-core has infrastructure for, but no implementation of LZO1X999, so I took an effort to implement it. The implementation was created by running lzo1x_9x.c from LZO2.05 through GCC preprocessor, manual syntactic correction, changing pointer semantics to array manipulation, and finally removing some dead code. Resulting compressor accepts compression levels 1 to 9, although, according to the original, only levels 7-9 are practical. Running speed is slightly slower than C version, usually requiring 2-3 extra seconds for large files. Existing tests were extended and seem to pass normally.