You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/01/25 08:08:00 UTC
[jira] [Commented] (LUCENE-10384) Simplify LongHeap
[ https://issues.apache.org/jira/browse/LUCENE-10384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481629#comment-17481629 ]
ASF subversion and git services commented on LUCENE-10384:
----------------------------------------------------------
Commit 07fe46ff862cd78d036785f61262ed303cb9c916 in lucene's branch refs/heads/main from Adrien Grand
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=07fe46f ]
LUCENE-10384: Simplify LongHeap. (#615)
The min/max ordering logic moves to NeighborQueue.
> Simplify LongHeap
> -----------------
>
> Key: LUCENE-10384
> URL: https://issues.apache.org/jira/browse/LUCENE-10384
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Adrien Grand
> Priority: Minor
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> LongHeap makes its order configurable, but the only place where we use max heaps, we also encode values anyway. So let's make LongHeap always a min-heap and update the encoding so that the min-heap would effectively act as a max heap when necessary?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org