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 SmallVec in TokenStreamBuilder. #59476

Merged
merged 1 commit into from
Mar 29, 2019

Commits on Mar 28, 2019

  1. Use SmallVec in TokenStreamBuilder.

    This reduces by 12% the number of allocations done for a "clean
    incremental" of `webrender_api`, which reduces the instruction count by
    about 0.5%.
    
    It also reduces instruction counts by up to 1.4% across a range of
    rustc-perf benchmark runs.
    nnethercote committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    17a8aff View commit details
    Browse the repository at this point in the history