Skip to content

Remove ArrayUtil.timSort? [LUCENE-7268] #8323

@asfimport

Description

@asfimport

Is there some workload where our timSort is better than the JDK one? Should we just remove ours if its slower?

Not that its a great test, but i switched Polygon2D edge sorting (just the one where it says "sort the edges then build a balanced tree from them") from Arrays.sort to ArrayUtil.timSort and was surprised when performance was much slower for an enormous polygon (http://people.apache.org/\~mikemccand/geobench/cleveland.poly.txt.gz)


Migrated from LUCENE-7268 by Robert Muir (@rmuir), updated May 02 2016
Attachments: LUCENE-7268_mods.patch

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions