Skip to content

Replace get_smallest_lexicographic_outpoint by LexMin#26

Merged
nymius merged 1 commit into
bitcoindevkit:masterfrom
nymius:refactor/replace-get-smallest-outpoint-by-lexmin
Jul 16, 2025
Merged

Replace get_smallest_lexicographic_outpoint by LexMin#26
nymius merged 1 commit into
bitcoindevkit:masterfrom
nymius:refactor/replace-get-smallest-outpoint-by-lexmin

Conversation

@nymius

@nymius nymius commented Jul 16, 2025

Copy link
Copy Markdown
Collaborator

Description

The new LexMin is a zero allocation cost struct that allows computing the minimal lexicographic outpoint in the same loop where other logic is contained, avoiding the intermediate step of extracting all the outpoints from their TxIn into a separated collection to sort them.

All Submissions:

The new LexMin is a zero allocation cost struct that allows computing
the minimal lexicographic outpoint in the same loop where other logic is
contained, avoiding the intermediate step of extracting all the
outpoints from their TxIn into a separated collection to sort them.
@nymius nymius added this to the bdk-sp 0.1.0 milestone Jul 16, 2025
@nymius nymius self-assigned this Jul 16, 2025
@nymius
nymius merged commit 7fa6d16 into bitcoindevkit:master Jul 16, 2025
3 of 5 checks passed
@nymius
nymius deleted the refactor/replace-get-smallest-outpoint-by-lexmin branch July 16, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant