Skip to content

Add an assert_sorted_u64s snippet #111

@Sword-Smith

Description

@Sword-Smith

Extensive use of contains is pretty expensive. So let's add a snippet that asserts that a u64 list is sorted. Alternative a snippet that returns a boolean indicating if the list is sorted.

This snippet is needed by consensus logic in [neptune-core]'(https://github.com/Neptune-Crypto/neptune-core).

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