lucene/lucene/benchmark-jmh
Chris Hegarty 05f04aa08a
Add a MemorySegment Vector scorer - for scoring without copying on-heap (#13339)
Add a MemorySegment Vector scorer - for scoring without copying on-heap.

The vector scorer loads values directly from the backing memory segment when available. Otherwise, if the vector data spans across segments the scorer copies the vector data on-heap.

A benchmark shows ~2x performance improvement of this scorer over the default copy-on-heap scorer.

The scorer currently only operates on vectors with an element size of byte. We can evaluate if and how to support floats separately.
2024-05-21 17:34:37 +01:00
..
src/java Add a MemorySegment Vector scorer - for scoring without copying on-heap (#13339) 2024-05-21 17:34:37 +01:00
build.gradle Rewrite JavaScriptCompiler to use modern JVM features (Java 17) (#12873) 2023-12-05 11:53:57 +01:00