[ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to