- Stored key parameters before the loops so that indirections are evaluated once
- Used 'dm->getVertData(dm, i, CD_MDEFORMVERT)' instead of 'DM_get_vert_data' to obtain a direct access to deform verts
- Changed 'if ( a && b )' tests so that the more simple are tested first (a more simple than b)
- Renamed 'verts' as 'vert' as used as a single vertex (for a better readability).
Though, about './blenkernel/intern/cloth.c:675:3: /* can be optimized to do all groups in one loop */', I see no way to avoid that, or the data structure needs to be changed?