Adrien Grand created LUCENE-4875:
------------------------------------
Summary: Make SorterTemplate.mergeSort run in linear time on
sorted arrays
Key: LUCENE-4875
URL: https://issues.apache.org/jira/browse/LUCENE-4875
Project: Lucene - Core
Issue Type: Improvement
Reporter: Adrien Grand
Assignee: Adrien Grand
Priority: Trivial
Fix For: 4.3
Through minor modifications, SorterTemplate.mergeSort could run in linear time
on sorted arrays, so I think we should do it? The idea is to modify merge so
that it returns instantly when compare(pivot-1, pivot) <= 0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]