Skip to content

Tracking Reordering #9

@diwot

Description

@diwot

Hi, is there a way to track the reordering during the sort process? Some other sort implementations (e. g Array.Sort(...) in the NET framework) allow to provide a key and a value array where the sorting only uses keys for order comparisons. The values can be used to pass in an indexer array with the identity map which then allows to track which element moved where during the sort. I was stumbling over fluxsort (which is a great project by the way) while looking for a faster search algorithm for a project I'm working on where I need to sort 64bit keys and there I need a map to know where each value was located before the sort was applied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions