lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Optimization of memory usage in PriorityQueue
Date Mon, 22 Jun 2009 14:39:59 GMT
On Mon, Jun 22, 2009 at 10:29 AM, Shai Erera<serera@gmail.com> wrote:
> You mean that if we add it to Collector all developers will need to impl it?
> You're right, therefore I'm not sure it's such a good idea. Also, a unlike
> PQ, a Collector seems less reusable, as it doesn't declare to hold any data
> structures that can/should be reused.
>
> What about PQ?

PQ already has a clear().

-Yonik
http://www.lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message