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

Save flash by sharing the 'to utf-8' implementation #8655

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

jepler
Copy link
Member

@jepler jepler commented Nov 23, 2023

similar to micropython#13056

@jepler jepler marked this pull request as draft November 24, 2023 02:50
@jepler
Copy link
Member Author

jepler commented Nov 24, 2023

[converting to draft while discussion on the MP PR may produce improvements]

This saves ~84 bytes on trinket m0, and saves 112 bytes on PYBV10.

Signed-off-by: Jeff Epler <jepler@gmail.com>
@jepler jepler marked this pull request as ready for review November 28, 2023 14:14
@jepler
Copy link
Member Author

jepler commented Nov 28, 2023

Updated with a cherry-pick of the actual change that went into micropython

@jepler jepler requested a review from dhalbert November 28, 2023 15:40
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dhalbert dhalbert merged commit 1cfb894 into adafruit:main Nov 28, 2023
473 checks passed
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.

None yet

2 participants