pie-humble-pie opened a new pull request, #17428:
URL: https://github.com/apache/pinot/pull/17428

   The splitPart function is very allocation heavy. It first calculates all 
splits and then only returns the one indexed as requested by its argument. That 
is very allocation expensive when the index is very small and the separator is 
repeated several times.
   
   This change optimizes splitPart to tokenize to a limit based on the index 
specified to reduce allocations
   
   


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