Skip to content

[mypyc] Add str.isspace primitive#20842

Open
VaggelisD wants to merge 1 commit intopython:masterfrom
VaggelisD:isspace
Open

[mypyc] Add str.isspace primitive#20842
VaggelisD wants to merge 1 commit intopython:masterfrom
VaggelisD:isspace

Conversation

@VaggelisD
Copy link

@VaggelisD VaggelisD commented Feb 18, 2026

Benchmarked this locally, for 500m isspace() calls mypyc was at 7.5 secs vs Python's 10 secs.

Obligatory: Given that this is my first contribution in the CPython ecosystem I've used LLMs for some handholding but obviously made sure to follow other string primitive addition PRs to get the general gist.

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

Comments