-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: optimize RemoveUnusedMaterialProperties
This change improves the performance of RemoveUnusedMaterialProperties, by using native SerializedProperty calls to move items, rather than a C#-side copy function. This avoids a lot of marshalling and GC. This provides a performance improvement of 340ms -> 68ms on my main avatar.
- Loading branch information
1 parent
9ea7c9a
commit 9530ed8
Showing
1 changed file
with
118 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters