acvictor opened a new pull request, #11619:
URL: https://github.com/apache/incubator-gluten/pull/11619

   ## What changes are proposed in this pull request?
   
   This PR replaces LinkedList with ArrayList in 
Spillers.AppendableSpillerList. The list is only used for two operations: add() 
(append) and sequential for-each iteration in `spill()`. ArrayList is more 
efficient for both: append is amortized O(1) without allocating a Node object 
per element, and iteration benefits from sequential memory layout (CPU cache 
locality). LinkedList is faster for frequent mid-list insertions/removals, 
which this class never does.  
   
   ## How was this patch tested?
   
   Existing unit tests.
   
   ## Was this patch authored or co-authored using generative AI tooling?
   
   No


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to