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
unicode: decrease binary size #7600
Milestone
Comments
Owner changed to @josharian. Status changed to Started. |
If the problem is padding in the linker we should fix the linker. The rewrite forces the linking of all unicode table data even if you import unicode and only refer to unicode.Greek. Right now importing unicode and not referring to anything still pulls everything in, because the map init-time code keeps the dead symbol removal from working. But let's not add a second reason. Leaving this issue open to be about making unicode take less memory, but I think we'll need a different approach. Labels changed: added release-go1.4, removed release-go1.3maybe. |
Agreed that we should fix it more deeply. It is not just padding. It's also the autotemp symbol name showing up multiple places, the autogenerated init code, etc. Some of these will be fixable head on; reducing the number of symbols will also help. See the discussion at the end of https://golang.org/cl/78870047/ for related issues. Owner changed to ---. Status changed to Accepted. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: