gf2121 commented on PR #12775:
URL: https://github.com/apache/lucene/pull/12775#issuecomment-1797986285

   Update:
   * Make `MergeSorter` take advantage of `setPivot` to reduce decode.
   * Fix the problem that `StringSorter#getFallBackSorter` did not use the 
passed in comparator which can void first k bytes comparing.
   
   New benchmark result:
   <!--StartFragment--><byte-sheet-html-origin data-id="1699343722635" 
data-version="4" data-is-embed="false" data-grid-line-hidden="false" 
data-importRangeRawData-spreadSource="https://bytedance.feishu.cn/sheets/Jwjzs3FdXhFbVwtfADJc6L8rnCb";
 data-importRangeRawData-range="&#39;Sheet1&#39;!G1:K12">
   
   flush round | flush terms | radix sort | stable radix sort | diff
   -- | -- | -- | -- | --
   1 | 5169965 | 2328 | 1426 | -38.75%
   2 | 5169965 | 2269 | 1448 | -36.18%
   3 | 5169965 | 2314 | 1460 | -36.91%
   4 | 5169965 | 2306 | 1408 | -38.94%
   5 | 5169965 | 2253 | 1399 | -37.91%
   6 | 5169965 | 2329 | 1377 | -40.88%
   7 | 5169965 | 2211 | 1366 | -38.22%
   8 | 5169965 | 2363 | 1425 | -39.70%
   9 | 5169965 | 2233 | 1389 | -37.80%
   10 | 5169965 | 2294 | 1367 | -40.41%
   avg | 5169965 | 2290 | 1406.5 | -38.58%
   
   </byte-sheet-html-origin><!--EndFragment-->
   
   
   


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