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

bpo-33720: Refactor marshalling/unmarshalling floats. #8071

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jul 3, 2018

This may reduce the stack consumption for unmarshalling deeply
nested structures.

https://bugs.python.org/issue33720

This may reduce the stack consumption for unmarshalling deeply
nested structures.
@serhiy-storchaka
Copy link
Member Author

Unfortunately the goal is not achieved. This change doesn't reduce stack consumption in the PGO build on Windows (which is around 1600 bytes per level, much more than 256 bytes for the buffer). I'm merging this PR in master only just as refactoring.

@serhiy-storchaka serhiy-storchaka merged commit c573499 into python:master Jul 24, 2018
@serhiy-storchaka serhiy-storchaka deleted the marshal-floats-refactoring branch July 24, 2018 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants