Github user lemire commented on the pull request:

    https://github.com/apache/spark/pull/9243#issuecomment-150947477
  
    @srowen 
    
    Trying to compress something that is tiny and otherwise incompressible can 
indeed lead to a storage increase of the order of 20%. That's credible. But 
even if the 20% was in the other direction... that is, the compressed bitmaps 
were 20% smaller, it would still not be worth it to compress in general. RAM 
and storage are not that expensive in 2015. We use compressed bitmaps when 
uncompressed ones are many times larger (at least 2x). Then you get both less 
memory usage and faster processing speed.
    
    
    
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to