Blender Git Loki

Git Commits -> Revision ee4527b

October 18, 2019, 11:35 (GMT)
Depsgraph: Avoid threading for trivial operations

Found this while looking into T70463, solves the high spinning times
mentioned in T70463#791026.

Sounds logical that iterating over an array to modify a single property
is faster than doing it in threads. But strangely, doing it for both
nodes and its components is still faster in threads here.

Gives extra speedup with a file mentioned in the report.

Reviewed By: brecht, mont29

Differential Revision: https://developer.blender.org/D6017

Commit Details:

Full Hash: ee4527b32a85058501d42f091c9d2fcb330d841f
Parent Commit: 05b5b97
Committed By: YimingWu
Lines Changed: +20, -73

3 Modified Paths:

/source/blender/depsgraph/intern/depsgraph_tag.cc (+10, -24) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval.cc (+4, -17) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_flush.cc (+6, -32) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021