bruno-roustant opened a new pull request, #1469: URL: https://github.com/apache/solr/pull/1469
Currently ZLibCompressor.compress() works with a compression buffer initialized with a capacity equal to the source data (to compress) length. Since we expect a good compression ratio, specially for state.json, we propose a small adjustment to have the initial capacity of the buffer configurable. That way, when the caller knows it is compressing a state.json data, it can set the initial buffer capacity to sourceData.length / 10. This PR adds ZLibCompressor.compressBytes(byte[] data, int initialBufferCapacity) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org