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

Improve scene building and frame building performance by reducing allocations #3117

Merged
merged 3 commits into from Sep 25, 2018

Commits on Sep 25, 2018

  1. Estimate the number of primitives that will be created during flatten…

    …ing and pre-allocate the vector to that size
    mattwoodrow committed Sep 25, 2018
  2. Share a single SegmentBuilder for the entire frame build so that we c…

    …an reuse the items vector
    mattwoodrow committed Sep 25, 2018
  3. Use SmallVec for some Vecs used during frame building that are usual…

    …ly small and don't need an allocation
    mattwoodrow committed Sep 25, 2018
You can’t perform that action at this time.