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

Avoid SmallVec::collect #64949

Merged
merged 3 commits into from
Oct 8, 2019
Merged

Commits on Oct 1, 2019

  1. Avoid SmallVec::collect() in SubstsRef::super_fold_with().

    This commit reduces instruction counts for several benchmarks by up to
    5%.
    nnethercote committed Oct 1, 2019
    Configuration menu
    Copy the full SHA
    1419260 View commit details
    Browse the repository at this point in the history
  2. Avoid SmallVec::collect() in Result::intern_with().

    This commit reduces instruction counts for several benchmarks by up to
    5%.
    nnethercote committed Oct 1, 2019
    Configuration menu
    Copy the full SHA
    1937c20 View commit details
    Browse the repository at this point in the history
  3. Avoid SmallVec::collect() in List<Predicate>::super_fold_with().

    Also avoid interning when it's not necessary.
    
    This commit reduces instruction counts for a couple of benchmarks by up to 1%.
    nnethercote committed Oct 1, 2019
    Configuration menu
    Copy the full SHA
    d1a7bb3 View commit details
    Browse the repository at this point in the history