pinot
pinot copied to clipboard
Improve splitPart function
The split part function (link) is 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.
@gortiz Can you please assign this to me ?
Sure!
Hi @gortiz could you assign this to me. I have raised a PR for this performance fix : https://github.com/apache/pinot/pull/17428