vsop-479 commented on PR #14371: URL: https://github.com/apache/lucene/pull/14371#issuecomment-2753155562
> a bench in jmh will be great. I measured it with `AdvanceSparseDISIBenchmark`: ```` Benchmark Mode Cnt Score Error Units AdvanceSparseDISIBenchmark.advance thrpt 15 669.502 ± 4.531 ops/ms AdvanceSparseDISIBenchmark.advanceBinarySearch thrpt 15 358.620 ± 1.102 ops/ms AdvanceSparseDISIBenchmark.advanceExact thrpt 15 752.444 ± 1.810 ops/ms AdvanceSparseDISIBenchmark.advanceExactBinarySearch thrpt 15 547.818 ± 2.278 ops/ms ```` Even I set target docs's inteval to 10, there is still a big performance degrade. Maybe I use too many `disi.slice.seek` in this binary search version. > you may find we are using VectorMask to speed up this, that was what i had in mind - get a MemorySegment slice if it is not null, and play it with VectorMask. I will try `VectorMask` when I get a chance. -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org