Skip to content

Reduces memory allocations on render path/hot path #66

@tippesi

Description

@tippesi

There are quite a number of unnecessary memory allocation on hot paths that could be moved on the stack.
This really hurts in multi-threading cases when other threads allocate a lot of memory.

Ideas for improvements:

  • Pipeline barriers should not use std::vector
  • Blur filter weights can be calculated in constructors
  • Basically all usages of std::vector where we resize on a regular basis or even worse use .push_back without a proper .reserve

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions