msokolov opened a new pull request #2108: URL: https://github.com/apache/lucene-solr/pull/2108
The subject line is the main thrust, but there are a few subsidiary changes that were needed in order to achieve that (see below), and I made a few incidental improvements to HNSW-related classes. 1. Add a primitive int-valued heap, IntHeap, based on the existing PriorityQueue 2. Convert scores to 16-bit precision in order to pack them into an int along with a neighbor ordinal The result was about a 16% improvement in indexing times, and fewer, smaller GC pauses noted in profiler. ---------------------------------------------------------------- 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. 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