Blender Git Loki

Git Commits -> Revision 099bda8

Revision 099bda8 by Bastien Montagne (master)
November 26, 2017, 15:03 (GMT)
Removing OMP: nuke last usages in bmesh_mesh.c

Those three ones were actually giving no significant benefits, in fact
even slowing things down in one case compared to no parallelization at
all (in `BM_mesh_elem_table_ensure()`).

Point being, once more, parallelizing *very* small tasks (like index or
flag setting, etc.) is nearly never worth it.

Also note that we could not easlily use per-item parallel looping in
those three cases, since they are heavily relying on valid
loop-generated index (or are doing non-threadable things like allocation
from a mempool)...

Commit Details:

Full Hash: 099bda8875e7b814e5c677e423b3c6640551267c
Parent Commit: 83e80db
Lines Changed: +78, -119

1 Modified Path:

/source/blender/bmesh/intern/bmesh_mesh.c (+78, -119) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021