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

Use a newtype_index! within Symbol. #56699

Merged
merged 1 commit into from
Dec 14, 2018
Merged

Commits on Dec 11, 2018

  1. Use a newtype_index! within Symbol.

    This shrinks `Option<Symbol>` from 8 bytes to 4 bytes, which shrinks
    `Token` from 24 bytes to 16 bytes. This reduces instruction counts by up
    to 1% across a range of benchmarks.
    nnethercote committed Dec 11, 2018
    Configuration menu
    Copy the full SHA
    0f68749 View commit details
    Browse the repository at this point in the history