jpountz commented on issue #1234: Add compression for Binary doc value fields
URL: https://github.com/apache/lucene-solr/pull/1234#issuecomment-583529199
 
 
   In the case of content that can't be compressed, the compressed data will 
consist of the number of bytes, followed by the bytes. So decompressing 
consists of decoding the length and then reading the bytes. The only overhead 
compared to reading bytes directly is the decoding of the number of bytes, so I 
would believe that the overhead is rather small.
   
   I don't have a strong preference regarding whether this case should be 
handled explicitly or not. It's true that not having a special "not-compressed" 
case helps keep the logic simpler.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to