Page MenuHome

Fix T88450: Performance edit mesh data extraction.
Needs ReviewPublic

Authored by Jeroen Bakker (jbakker) on May 21 2021, 11:59 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Maniphest Tasks
T88450: Optimize `extract_edit_data` extraction.
Summary

Improve branch prediction in extract_edit_data. The function uses many
branches that can reduce the branch prediction.

This patch replaces most of the branches with a branchless
implementation. It also moves some inner loop initialization to the
outer loop.

Although this is faster it isn't the real bottleneck like T88456, T88457.

Diff Detail

Repository
rB Blender
Branch
T88450-extract_edit_data (branched from master)
Build Status
Buildable 14683
Build 14683: arc lint + arc unit