Skip to content

Add complete multilingual prefix lookup - #104

Merged
tnull merged 1 commit into
rust-bitcoin:masterfrom
tnull:2026-08-add-complete-prefix-lookup
Aug 20, 2026
Merged

Add complete multilingual prefix lookup#104
tnull merged 1 commit into
rust-bitcoin:masterfrom
tnull:2026-08-add-complete-prefix-lookup

Conversation

@tnull

@tnull tnull commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Language::words_by_prefix assumes prefix matches are contiguous in each official word list. That assumption omits valid Czech, French, Japanese, and Spanish words when the lists use language-specific ordering.

Add a lazy full-list filtering iterator and deprecate the slice-based method so callers can migrate without a breaking API change.

Co-Authored-By: HAL 9000

Language::words_by_prefix assumes prefix matches are contiguous in each
official word list. That assumption omits valid Czech, French, Japanese,
and Spanish words when the lists use language-specific ordering.

Add a lazy full-list filtering iterator and deprecate the slice-based
method so callers can migrate without a breaking API change.

Co-Authored-By: HAL 9000
@tnull
tnull requested a review from elsirion August 5, 2026 13:35

@stevenroose stevenroose left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2b8e877

@tnull
tnull merged commit 1a63bd4 into rust-bitcoin:master Aug 20, 2026
7 of 9 checks passed
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.

2 participants