Skip to content

Add complete multilingual prefix lookup - #104

Open
tnull wants to merge 1 commit into
rust-bitcoin:masterfrom
tnull:2026-08-add-complete-prefix-lookup
Open

Add complete multilingual prefix lookup#104
tnull wants to merge 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
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