Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/19811
  
    do we have to initialize the elements in a loop? Can we just initialize 
them one by one like
    ```
    int[] ints = new int[1001];
    ints[0] = 3;
    ints[1] = 1;
    ints[2] = 5;
    ...
    ```
    
    is it also to reduce constant pool entries?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to