[Kst] Re: branches/work/kst/portto4/kst/src
Peter Kümmel
syntheticpp at gmx.net
Fri Jan 21 19:04:31 CET 2011
Here a short discription what happens:
> Delimiters (comment, column) : time in readColumns
> -----------------------------------------------------------
> No comment, custom: one space : 1.69102 seconds
5.21188 seconds
old: calls in both cases QString::contains with an empty string and with a space
new: char==char + one "return false"
> No comment, whitespace : 2.11194 seconds
3.19542 seconds
old: code calls QString::contains with an empty string isstring
new: one "return false" + isstring
> default comment, custom: one space: 4.01525 seconds (default comment with 4 characters)
5.51114 seconds
old: QString::contains + QString::contains
new: QString::contains + char==char
> default comment, whitespace : 4.34039 seconds
3.53454 seconds
old: QString::contains + whitespace
new: QString::contains + whitespace -> more overhead
> default comment, custom ,;| : 6.49383 seconds (space at the end of 4 characters)
5.75577 seconds
old: QString::contains + QString::contains
new: QString::contains + QString::contains -> more overhead
More information about the Kst
mailing list