Michael Sokolov created LUCENE-9679: ---------------------------------------
Summary: Try using Math.fma to speed up vector computations Key: LUCENE-9679 URL: https://issues.apache.org/jira/browse/LUCENE-9679 Project: Lucene - Core Issue Type: Improvement Reporter: Michael Sokolov On the mailing list, Anton Hägerstrand <an...@blunders.io> posted a link to a blog post showing hotspots in our indexing: https://blunders.io/posts/lucene-bench-2021-01-10 and identified vecto dot product computations as one of them. Not surprising in itself, but he also suggested we might want to try using {{Math.fma}} in the computation to see if it can optimize the multiply-and-add operation that is at the heart of both the dot product and l2-norm distance. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org