justahuman1 opened a new pull request, #17660:
URL: https://github.com/apache/pinot/pull/17660

   Updated the splitPart function to use direct string traversal instead of 
allocating a full String[] array, significantly reducing memory pressure in 
high-throughput query scenarios.
   
   Performance improvements:
     - Space complexity: O(n) → O(1)
     - Time complexity: O(n) for both implementations
   
   Added JMH benchmarks to demonstrate improvements and regressions. The 
primary regression is in the backward index case with a large index value. This 
is the uncommon case and maybe worth the tradeoff since the memory allocation 
in the common case is now significantly reduced.
   
   
   Addresses #17362


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