Skip to content

Is extra::sort::tim_sort stable? #9676

Closed
@SimonSapin

Description

@SimonSapin

Is extra::sort::tim_sort the same algorithm as Python’s Timsort? The documentation do not say much. In particular, can I rely on this sort being stable? (servo/servo#1001 is waiting on this.)

I can provide a documentation patch this is confirmed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions