jpountz commented on PR #14365:
URL: https://github.com/apache/lucene/pull/14365#issuecomment-2734597577
Maybe we should stop only adding doc IDs to the `BulkAdder` if they are
greater than the max collected doc so far. Skipping these doc IDs looks like it
hurts vectorization, I played with disabling these if statements locally and
get a good speedup on queries sorted by numeric field:
```
TermDTSort 503.38 (2.7%) 529.86
(2.6%) 5.3% ( 0% - 10%) 0.001
TermDayOfYearSort 700.49 (2.0%) 772.06
(1.2%) 10.2% ( 6% - 13%) 0.000
```
--
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]