Adam Roberts created SPARK-18196:
------------------------------------

             Summary: Optimise CompactBuffer implementation
                 Key: SPARK-18196
                 URL: https://issues.apache.org/jira/browse/SPARK-18196
             Project: Spark
          Issue Type: Improvement
    Affects Versions: 2.0.1, 1.6.2
            Reporter: Adam Roberts
            Priority: Minor


This change slightly increases the class footprint (8 bytes on IBM Java, 12 
bytes on OpenJDK and Oracle's) but we've observed a 4% performance on PageRank 
using HiBench large with this change, so a worthy trade-off IMO

This results in a shorter path length for the JIT as a result of less if else 
statements

Config used on HiBench

spark.executor.memory  25G
spark.driver.memory    4G
spark.serializer        org.apache.spark.serializer.KryoSerializer  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to