You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Michael Sokolov (Jira)" <ji...@apache.org> on 2021/03/15 21:36:00 UTC
[jira] [Created] (LUCENE-9846) Improve the initial allocation size
of LongHeap
Michael Sokolov created LUCENE-9846:
---------------------------------------
Summary: Improve the initial allocation size of LongHeap
Key: LUCENE-9846
URL: https://issues.apache.org/jira/browse/LUCENE-9846
Project: Lucene - Core
Issue Type: Improvement
Reporter: Michael Sokolov
Today {{LongHeap.push/ArrayUtil.grow}} is apparently a hot spot. Can we predict the correct maximum size better? It seems likely this is due to the candidates queue in {{HnswGraph.search}} which is the only place where these heaps are used that can extend their size.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org