I am tolking about my code. This is beacause if you have three curves:
Let say:
[1.0,10],
[1.5.,20],
[2.0,30]
and
[1.1,11],
[1.6.,21],
[2.1,31]
and
[1.2,12],
[1.7.,22],
[2.2,32]
The resulting arraw:
[1.0,10,,],
[1.1,,11,],
[1.2,,,12],
[1.5.,20,,],
[1.6.,,21,],
[1.7.,,,22],
[2.0,30,,],
[2.1,,31,],
[2.2,,,32]
totalise the same number of lines. But we should consider that this:
[1.0,10,,],
should take two time more memory than
[1.0,10],
because null values take space in the RAM.
Then, if for one curve:
[1.0,10],
[1.5.,20],
[2.0,30]
The memory taken is 6 float (3 for the x axis, 3 for the data),
for three curves :
3x n dots(for the x values)+3x n curves (the number of lines)+3x n curves (the number values per lines including the null or white space )