Skip to content

KLL: custom lt instead of total_cmp #92

Description

@GordonYuanyc

Problem

Sorting function relies on total_cmp to work. However, it's possible that all insertion into KLL is guaranteed to be non-null. In other words, sorting elements in KLL doesn't need to care about null value for f64 (and consequently no need to use total_cmp). Using a custom lt may further improve the insertion speed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions