Skip to content

Perf: optimize sort string_view performance #7790

Closed
@zhuqi-lucas

Description

@zhuqi-lucas

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We will optimize sort string_view performance in this ticket, it will be promising for sort string_view with custom compare.

Describe the solution you'd like
We will optimize sort string_view performance in this ticket, it will be promising for sort string_view with custom compare.

Now the default cmp will compare the u8 level, we can extend to u32 even u128 for inlined case.

Describe alternatives you've considered

Additional context

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