jpountz commented on issue #754: LUCENE-8875: Introduce Optimized Collector For 
Large Number Of Hits
URL: https://github.com/apache/lucene-solr/pull/754#issuecomment-508796547
 
 
   > That would require a different PriorityQueue implementation
   
   Actually I don't think we need a growable priority queue. For such large 
number of hits it'd be probably more efficient to collect hits in an ArrayList 
first and only turn it into a PQ once there are `numHits` hits?
   
   Pinging @tokee since this is a topic he already spent time thinking about. :)
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to