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

Mark error construction as cold code #1229

Merged
merged 1 commit into from Apr 21, 2018
Merged

Mark error construction as cold code #1229

merged 1 commit into from Apr 21, 2018

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Apr 21, 2018

This eliminates 12% of the Serde-related code in the Xi release binary as measured by:

nm -S target/release/xi-core \
    | awk '/serde/{sum += strtonum("0x"$2)} END{print sum}'

This eliminates 12% of the Serde-related code in the Xi release binary
as measured by:

nm -S target/release/xi-core \
    | awk '/serde/{sum += strtonum("0x"$2)} END{print sum}'
@dtolnay dtolnay merged commit 6aa07fe into master Apr 21, 2018
@dtolnay dtolnay deleted the cold branch April 21, 2018 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant