Blender Git Commit Log

Git Commits -> Revision eabf79e

Revision eabf79e by Bastien Montagne (master)
December 22, 2015, 19:13 (GMT)
Get rid of OMP in MOD_build.

Reasons:
- Only parallelized piece of code gives little local speedup (code block only about 25% quicker even on 1M polys cube).
- No gain nor loss using new BLI_task system.
- At 10% of build, parallelized piece of code is only about 5% of total func runtime (run-time explodes as build proportion increases).

See no point in adding (in utmost best optimistic case, in real use-case, when depsgraph will likely already fire several evaluations in parallel,
speedup would be even smaller) 1% speedup here at the cost of threading complexity...

Note that since later code uses hashes, I don't think it's easy to thread it, so think we can leave with it for now.

Commit Details:

Full Hash: eabf79e40ad64c1e80c9c52227099e211c6092af
Parent Commit: b176206
Lines Changed: +3, -9

1 Modified Path:

/source/blender/modifiers/intern/MOD_build.c (+3, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021