- marked as enhancement
DashedLineRenderer needs heap optimization
Issue #25
on hold
Currently allocates about 0.8kb of heap if the array size changes which is quite often.
Maybe we should move back to List's instead of Arrays and see if we can improve anything.
Or we can make the array as large as we expect it to be than null the values which are not needed. We can clear and resize array in fixed intervals. Instead of every frame.
Comments (2)
-
reporter -
reporter - changed status to on hold
List's usually perform worse or same in best case. Even if we define their size on creation.
Using a bigger array + nulling obsolete entries was even slower than Lists.
Marking as On Hold until we can find a better solution.
- Log in to comment