You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
of BaseSeries.appendData function makes an internal copy of the whole array on each call. This is because mData is initialized as an ArrayList.
Solution
A simple solution would be changing the mData from ArrayList to LinkedList. A better solution would encorporate some sort of a fixed-size list to hide this routine into a simple instruction mData.add(dataPoint).
The text was updated successfully, but these errors were encountered:
Problem
The line 456
of
BaseSeries.appendData
function makes an internal copy of the whole array on each call. This is becausemData
is initialized as an ArrayList.Solution
A simple solution would be changing the
mData
fromArrayList
toLinkedList
. A better solution would encorporate some sort of a fixed-size list to hide this routine into a simple instructionmData.add(dataPoint)
.The text was updated successfully, but these errors were encountered: