Skip to content

Conversation

@henryiii
Copy link
Contributor

@henryiii henryiii commented Dec 9, 2025

This comes from KRRT7#4 by codeflash-ai, which claims a 6% speedup (single function benchmark), and I think it reads pretty well. I didn't rename letter to ltr, though. :)

(str.translate only handles single chars, I did check)

Copy link
Member

@notatallshaw notatallshaw left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
@henryiii henryiii force-pushed the henryiii/chore/letter_norm branch from 84be060 to dc89193 Compare December 9, 2025 19:21
@henryiii henryiii merged commit c87e4df into pypa:main Dec 9, 2025
40 checks passed
@henryiii henryiii deleted the henryiii/chore/letter_norm branch December 9, 2025 19:24
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.

3 participants