Skip to content

primitive sorting can be improved and more consistent with and without limit if sorted unstably #553

@jimexist

Description

@jimexist

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and why for this feature, in addition to the what)

use sort_unstable_by in primitive sorting so that we can have:

  1. better memory footprint
  2. faster sort
  3. consistent stableness behavior with and without limit

Describe the solution you'd like
A clear and concise description of what you want to happen.

use sort_unstable_by in primitive sorting

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAny new improvement worthy of a entry in the changelog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions