Test constraint checks whether an object exists in the bmain. Instead of looping through all the objects in bmain you can also check the ID flag. This should be faster.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- improve_performance_test_constraint (branched from master)
- Build Status
Buildable 24692 Build 24692: arc lint + arc unit
Event Timeline
Comment Actions
I don't think we can make such changes until T88555: ID Management: Sanitize and clarify our ID tags has been addressed, currently relying on tags to know if an ID is in G_MAIN or not is... risky at best.