[
https://issues.apache.org/jira/browse/LUCENE-9838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17305576#comment-17305576
]
Uwe Schindler commented on LUCENE-9838:
---------------------------------------
Hi David,
The problem is mainly that this only works exactly with JDK16 and only when you
pass a command line parameter. In JDK17 it may not work anymore as the API is
in incubator. Once it gets out of incubator Apis will change again. So you can
only do it fully dynamic. Mr Jars won't work because of module system and the
instability of api.
The same applies to mmap2 directory v2, but this one will likely be available
soon, as api will possibly be released with JDK17. But mmap2 is simpler: we can
ship it as a separate jar file (like lucene-mmap2-incubator-jdk16.jar). This
works for mmap2, as there's an abstract interface in lucene. So it's easy to
plugin and compile completely separate.
> simd version of VectorUtil.dotProduct
> -------------------------------------
>
> Key: LUCENE-9838
> URL: https://issues.apache.org/jira/browse/LUCENE-9838
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Robert Muir
> Priority: Major
> Attachments: LUCENE-9838.patch, LUCENE-9838_standalone.patch
>
> Time Spent: 6.5h
> Remaining Estimate: 0h
>
> Followup to LUCENE-9837
> Let's explore using JDK 16 vector API to speed this up more. It might be a
> hassle to try to MR-JAR/package up for users (adding commandline flags and
> stuff), but it gives good performance.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]