Hi Bertrand, 2017-03-07 14:42 GMT+01:00 Bertrand Delacretaz <[email protected]>:
> Hi, > > On Tue, Mar 7, 2017 at 2:28 PM, Timothée Maret <[email protected]> > wrote: > > ...IMO we should still allow to tweak between best performance and best > > compression though, in order to accommodate different use cases... > > Best compression is probably just "compress everything regardless", right? If yes that's a simple configuration switch. > > -Bertrand > Yes, the JCRVLT-163 improvement would be disabled by a simple config switch. I think we can consider that compressing everything (feature disabled) produces the best compression. For the JCRVLT-164 improvement, best compression would be obtained by configuring the java.util.zip.Deflater.html#BEST_COMPRESSION compression level. The two features are complementary. You could also have settings avoiding to compress binaries, but selecting the best compression for the remaining data. Regards, Timothee
