[Interest] efficient drawing advice
william.crocker at analog.com
william.crocker at analog.com
Wed Mar 26 15:21:24 CET 2014
On 03/26/2014 10:04 AM, André Somers wrote:
> william.crocker at analog.com schreef op 26-3-2014 14:56:
>>> I too have a similar requirements for monotonic data plots. How do you
>>> store the full million points data?
>> QVector<double> x, y;
> Is that really the quickest? This means that points have to be fetched
> from two different memory locations all the time. Wouldn't something
> like QVector<QPointF> perform better? Also, if your x's are regular,
> there is no need to store them of course...
>
Yes, QVector<QPointF> would be better in some circumstances.
But, sometimes I have this: QVector<double> x, y1, y2, y3;
And my x's are irregular.
And fetching from two different memory locations is the
least of my worries. :-)
Bill
> André
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
More information about the Interest
mailing list