dweiss opened a new issue, #15309:
URL: https://github.com/apache/lucene/issues/15309

   ### Description
   
   This method is counterintuitive in that:
   * it compares the argument by reference, not by .equals
   * it does a linear scan through all elements of the pq (it is costly)
   
   This method is also used in one place within Lucene. Maybe we should just 
look at an alternative where it's currently used and drop remove without 
replacement?


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to