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 0dcb5ab278 - Show all commits

View File

@ -194,7 +194,7 @@ static void node_geo_exec(GeoNodeExecParams params)
if (geometry_set.has(type)) {
GeometryComponent &component = geometry_set.get_component_for_write(type);
bke::try_capture_field_on_geometry(
component, *attribute_id, domain, field, &params.allocator());
component, *attribute_id, domain, field, &params.allocator().local());
}
}
});