Open Sword-Smith opened 3 months ago
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.
contains
u64
This snippet is needed by consensus logic in [neptune-core]'(https://github.com/Neptune-Crypto/neptune-core).
neptune-core
Extensive use of
contains
is pretty expensive. So let's add a snippet that asserts that au64
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).