Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
4.5.1
-
None
Description
QString number() suffers performance problems (very large loops) because the precision is signed int whereas subsequent calls are unsigned int. E.g.
QString::number(double n, char f, int precision)
If the precision passed in is negative (accidental) the problem will manifest because internally, the number is a very large number as a result of the int / unsigned int conversion