Skip to content

[mypyc] Add primitives for bytes and str multiply#20303

Merged
JukkaL merged 2 commits into
masterfrom
mypyc-str-bytes-mul
Nov 27, 2025
Merged

[mypyc] Add primitives for bytes and str multiply#20303
JukkaL merged 2 commits into
masterfrom
mypyc-str-bytes-mul

Conversation

@JukkaL

@JukkaL JukkaL commented Nov 27, 2025

Copy link
Copy Markdown
Collaborator

These are a bit faster in microbenchmarks for short strings and bytes objects (~20% or so).

I experimented with using LLMs to generate much of the code. I gave them detailed instructions and reviewed all the output.

@JukkaL
JukkaL merged commit cb2bfc3 into master Nov 27, 2025
14 checks passed
@JukkaL
JukkaL deleted the mypyc-str-bytes-mul branch November 27, 2025 12:30
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