keith-turner commented on issue #3466: URL: https://github.com/apache/accumulo/issues/3466#issuecomment-1927843288
Wrong comment from the javadoc, the following was the comment I was looking at > If you only access one end of the queue, and do use a maximum size, this class will perform significantly worse than a PriorityQueue with manual eviction above the maximum size. In many cases [Ordering.leastOf(java.lang.Iterable<E>, int)](https://javadoc.scijava.org/Guava/com/google/common/collect/Ordering.html#leastOf(java.lang.Iterable,int)) may work for your use case with significantly improved (and asymptotically superior) performance. -- 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]
