Skip to content

bpo-28307: Convert simple C-style formatting with literal format into f-string. #5012

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

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Dec 26, 2017

@serhiy-storchaka serhiy-storchaka added the performance Performance or resource usage label Dec 26, 2017
@serhiy-storchaka serhiy-storchaka requested a review from a team December 26, 2017 00:04
@brettcannon brettcannon removed the request for review from a team March 23, 2018 21:10
@taleinat
Copy link
Contributor

taleinat commented Sep 6, 2018

@serhiy-storchaka, this is very nice!

Any benchmarks for this?

What would it take to move this forward for 3.8?

@serhiy-storchaka
Copy link
Member Author

Results of microbenchmarks are provided on the tracker.

I want to add support of more complex format codes (at least %d) if this proposition be accepted in general.

@serhiy-storchaka serhiy-storchaka changed the title [POC] bpo-28307: Convert simple C-style formatting with literal format into f-string. bpo-28307: Convert simple C-style formatting with literal format into f-string. Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance or resource usage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants