Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Curvy Refresh hierrarchy heavy on profiler
#1
Hi,

got several calls, all taking a large amount of resources according to the profiler : 

CurvySpline._RefreshHierarchy --> List.Sort

My game is always getting laggy at this call, kind of problematic.

Seems that this line in CurvySpline.cs is the culprit : 


        mControlPoints.Sort((a, b) => string.Compare(a.name, b.name));

Is there a workaround ? Tried to comment this line, but obviously nothing works anymore Smile
Reply


Messages In This Thread
Curvy Refresh hierrarchy heavy on profiler - by lelag - 04-14-2015, 02:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 10 04-03-2024, 03:16 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 4 03-27-2024, 07:25 AM
Last Post: amutp

Forum Jump: