Skip to content

Simplify v3, fix memorable mode efficiency#47

Merged
bermi merged 1 commit intomasterfrom
v3-review
Feb 9, 2026
Merged

Simplify v3, fix memorable mode efficiency#47
bermi merged 1 commit intomasterfrom
v3-review

Conversation

@bermi
Copy link
Owner

@bermi bermi commented Feb 9, 2026

  • Fix memorable generation to use direct alphabet indexing instead of rejection sampling over ASCII 33-126 (~86% waste rate)
  • Unify memorable char selection into shared buildMemorable()
  • Fix buildWordLengths allowing words to exceed MAX_WORD_LENGTH
  • Replace custom arg parser with util.parseArgs (Node 20+)
  • Inline single-use validation/normalization helpers
  • Remove unrelated benchmarks (structures, patterns)
  • Remove draft plan documents

- Fix memorable generation to use direct alphabet indexing instead of
  rejection sampling over ASCII 33-126 (~86% waste rate)
- Unify memorable char selection into shared buildMemorable()
- Fix buildWordLengths allowing words to exceed MAX_WORD_LENGTH
- Replace custom arg parser with util.parseArgs (Node 20+)
- Inline single-use validation/normalization helpers
- Remove unrelated benchmarks (structures, patterns)
- Remove draft plan documents
@bermi bermi merged commit 611ea7b into master Feb 9, 2026
4 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.

1 participant