-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[stdlib] Refactor and optimize String.replace()
#3860
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: martinvuyk <[email protected]>
2fde772
to
5655490
Compare
Hi @ConnorGray this is why I wanted to have better iterator ergonomics in #3700: s = String("123")
for c in s:
... now gives the warning: |
Keeping these deprecations (no matter if they are good or not) may allow team to merge changes, while reverting them is not so obvious |
Signed-off-by: martinvuyk <[email protected]>
I did use |
Refactor and optimize
String.replace()
CC: @JoeLoser another place where we need #3548