Re: [I] Compute gain with vector API in BPIndexReorderer [lucene]
gf2121 commented on issue #12721: URL: https://github.com/apache/lucene/issues/12721#issuecomment-1779316042 > did something like intVector = intVector.max(BROAD_1) Great idea! Here is the benchmark result : ``` Benchmark (maxTerm) (termsNum) Mode
[I] Compute gain with vector API in BPIndexReorderer [lucene]
gf2121 opened a new issue, #12721: URL: https://github.com/apache/lucene/issues/12721 ### Description An immature idea ! :) I noticed that `BPIndexReorderer$ComputeGainsTask#computeGain()` took a lot in CPU profile: ``` PERCENT CPU SAMPLES STACK 4.75%