Commit 44f3c87
committed
GraphicContext: Use
Every frame the `m_transforms` is filled and emptied. By default the
`std::stack` uses a `std::deque` which releases its memory when it shrinks.
This causes constant allocations and deallocations. With a `std::vector`
this doesn't happen.std::stack with a std::vector
1 parent b905c9f commit 44f3c87
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| |||
0 commit comments