Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/19811
  
    I think we should do optimization incrementally. From
    ```
    private int a;
    private int b;
    private int c;
    ...
    
    a = 3;
    b = 1;
    c = 5;
    ...
    ```
    to
    ```
    int[] ints = new int[1001];
    ...
    ints[0] = 3;
    ints[1] = 1;
    ints[2] = 5;
    ...
    ```
    already hit our goal to reduce constant pool size, reducing the byte code 
size of constructor is another story.


---

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

Reply via email to