Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
5a39173c34 (qt/qtbase/dev) 5a39173c34 (qt/tqtc-qtbase/dev) b33786b378 (qt/qtbase/6.3) b33786b378 (qt/tqtc-qtbase/6.3) b33786b378 (qt/tqtc-qtbase/6.3.0)
-
Team Two Foundation Sprint 52
Description
We allocate memory in boostrapped or non-double-conversion builds because we copy the input data to make it NUL-terminated for consumption by sscanf. Apart from being extremely inefficient, making parsing a sequence of doubles from a string quadratic, it also prevents functions from becoming noexcept.
Attachments
For Gerrit Dashboard: QTBUG-101178 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
397533,3 | Don't allocate in qt_asciiToDouble() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
397555,1 | Don't allocate in qt_asciiToDouble() | dev | qt/qtbase | Status: ABANDONED | -1 | 0 |
398014,2 | Don't allocate in qt_asciiToDouble() | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |