Repository navigation
Add support for more compression types - #118
afbjorklund wants to merge 27 commits into
Conversation
|
Sounds like a good idea. Should we perhaps introduce support for different compression types as plugins for the same reason as discussed in #58? |
|
Yeah, probably ? Another reason for doing that, is that it could keep the "api" between different implementations sane - instead if the current copy/paste between different code forks ? |
|
And again, like #80, this could do with a more standardized benchmark for evaluating ? |
|
Yes, would be nice. |
|
Also thinking about just deleting the alternative compression (i.e. lzop and snappy) The stand-alone lzop (minilzop and minilzo) is not really as stable, and not as fast. And the snappy both has all the C++ complexity, or the unofficial C port uncertainty. So think I will just drop their detection in the rebase, and avoid using any others. |
20f3e9f to
46400d6
Compare
|
Ouch, that rebase was hard. All the code changed (to C99) and with it all the comments (to //)... |
Sorry about that. A tip for the future: I have found git-imerge to be very handy in situations like this. |
* 3.4-maint: Hash preprocessed headers located in “.gch directories” correctly
* 3.4-maint: Fix paths to bundled zlib
Refactor everything, both code and test.
ccache version 3.4 Everything got renamed/moved, and split up into files...
ccache version 3.4.1
Needed to fix the bundled zlib
|
Another major rebase, for 3.5 this time. Saved the old stuff as |
824f101 to
3467dce
Compare
|
Hmm, seems like Travis have upgraded to Clang version 5.0 ? (from 3.8) |
|
Darnit, the Travis clang static analyzer is not the same as the regular one in clang 5.0.0 Time to clean up. |
|
Oops, seems like I had already merged some things from master (after 3.4 was branched) Anyway, the intention was to indicate that the code was written against an older ccache... |
This reverts commit d653cfa.
This adds support for compression type, in addition to the compression level...
While doing so, it also makes the default level compatible by changing it to -1.
Included (and bundled) is support for the lz4f format, which is faster than gzip.
Also evaluated were lzop and snappy, but only the detection remains here.