WIP: Functions: new local allocator for better memory reuse and performance #104630

Draft
Jacques Lucke wants to merge 44 commits from JacquesLucke/blender:local-allocator into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8dd83536d3 - Show all commits

View File

@ -443,7 +443,7 @@ class Executor {
const Span<const Node *> all_nodes = self_.graph_.nodes();
/* Used for a search through all nodes that outputs depend on. */
Stack<const Node *, 100> reachable_nodes_to_check;
Stack<const Node *, 16, LocalAllocatorRef> reachable_nodes_to_check{allocator};
Array<bool, 16, LocalAllocatorRef> reachable_node_flags{all_nodes.size(), false, allocator};
/* Graph outputs are always reachable. */