Skip to content

Order arrays of pairs of uint32? #1

@h-a-n-n-e-s

Description

@h-a-n-n-e-s

Thanks for providing this package!

If one wants to order arrays of pairs of uint32 for the first element of the pair. Is there a faster than this?

Make an array A of pairs Uint32Array(2) and define function getKey(e) { return e[0]; } and then run RadixSortLsdUdtUInt32(A, getKey);

(Ideally, there would be just one Uint32array and one would sort the even indices together with their odd neighbors.)

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