Blender Git Loki
Git Commits -> Revision 0624fad
Revision 0624fad by Bastien Montagne (master) December 16, 2021, 16:27 (GMT) |
LibOverride: Improve speed of resync and creation of liboverrides. `BKE_collection_object_find` has extremely bad performances (very high time complexity). While ideally this should be fixed in that API, for now cache its results once at the beginning of the resync/creation process. This makes loading of complex production files with a lot of liboverrides to resync three to four times faster. Thanks to @brecht for the profiling in T94059. |
Commit Details:
Full Hash: 0624fad0f3ffa1167c8d807d991aa5788236925b
Parent Commit: b1f865f
Lines Changed: +64, -10
1 Modified Path:
/source/blender/blenkernel/intern/lib_override.c (+64, -10) (Diff)