[Kst] ASCII reader

Peter Kümmel syntheticpp at gmx.net
Thu Oct 25 16:57:32 UTC 2012


On 25.10.2012 18:23, Peter Kümmel wrote:
> On 23.10.2012 17:24, Barth Netterfield wrote:
>> I played a bit with the ascii data source on the way home last night:
>> Performance:
>>
>> With on my dual core sandybridge, I see a x2 improvement in
>> performance over 2.0.6
>> (Reading the last 100 columns of a 200 row, 20000 column file, and
>> reading the first column of a 4,000,000 row by 20 column file - both
>> space separated)
>> When attempting to read a 2.5GB file, no data were read.
>
> I assume you tested it with an 32bit build, and 2.5GB doesn't fit
> into a singed int, our current type to handle file positions.
> I've replaced the relevant ints with qint64.

With a limit set for the file buffer it now also works
to slide through a 5GB file on a 32 bit system.

>
>>   I haven't
>> explored further.  I didn't limit memory useage.
>>
>> Except for the failure to read the really big file, the performance is
>> markedly better than 2.0.6, and I see no regressions.  Great work!
>>
>> UI:
>> -The ascii config dialog does not fit on a 1366x768 screen - its too
>> tall.  It should be made wider and shorter.
>> -The purpose of the QDateTime format string field in the axis tab is
>> not clear.  It doesn't seem to have anything to do with how the plot
>> appears (everything else in the dialog does - since it is the plot
>> dialog).  Is this a copy of the field in the ascii config dialog?
>> Also, why is the label disabled?
>>
>>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>


More information about the Kst mailing list