Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use iodata in the internal state of StringIO #14289

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sabiwara
Copy link
Contributor

An attempt at the 3rd point mentioned here.

I haven't done proper benchmarks yet, but it seems actually slower by ~1s when trying this with 32 - will look into it later this week.

@sabiwara sabiwara force-pushed the stringio-optimization branch from 0280ff4 to 7bcc4b2 Compare February 20, 2025 14:20
@josevalim
Copy link
Member

Btw, to help us find bugs, I would default the initial state to an empty list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants