06-19-2017, 08:57 PM
Hi,
While optimizing my level editor that uses Curvy, I found out that Vector3's and Vector2's operators, which are heavily used in the Curvy's mesh generation code, are not optimized. The optimized version I came up with saved me tens of milliseconds when refreshing my Curvy Generator.
I created this Unity3d forum thread to explain the optimization, so please take a look at it for more details :
https://forum.unity3d.com/threads/vector3-and-other-structs-optimization-of-operators.477338/
And also, please support my suggestion ticket so we can hope to see the optimization integrated in Unity3d soon:
https://feedback.unity3d.com/suggestions/vector3-and-other-structs-optimization-of-operators
Thanks and have a nice day
While optimizing my level editor that uses Curvy, I found out that Vector3's and Vector2's operators, which are heavily used in the Curvy's mesh generation code, are not optimized. The optimized version I came up with saved me tens of milliseconds when refreshing my Curvy Generator.
I created this Unity3d forum thread to explain the optimization, so please take a look at it for more details :
https://forum.unity3d.com/threads/vector3-and-other-structs-optimization-of-operators.477338/
And also, please support my suggestion ticket so we can hope to see the optimization integrated in Unity3d soon:
https://feedback.unity3d.com/suggestions/vector3-and-other-structs-optimization-of-operators
Thanks and have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.