Use binary search for querying deform weights.
Spring 02_020_A.anim.blend on Ryzen 1700X goes from 12.4 to 12.7fps.
During profiling it was detected that adding new items to the head was faster than adding to the tail.
Differential D8127
Fix T78296: Performance - Use Binary Search for MDeformWeight Authored by Jeroen Bakker (jbakker) on Jun 26 2020, 12:23 PM.
Details Use binary search for querying deform weights. Spring 02_020_A.anim.blend on Ryzen 1700X goes from 12.4 to 12.7fps. During profiling it was detected that adding new items to the head was faster than adding to the tail.
Diff Detail
Event TimelineComment Actions This is not a finished implementation, right?
Comment Actions Ah yes your right ->def_nr = gives some more results.
Comment Actions Generally looks good.
Comment Actions Comments from code review
| ||||||||||||||||||||||