diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2021-07-20 17:06:49 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2021-07-26 20:43:44 +0000 |
commit | 5d0542a356be1c47e2f99e6ba38b8e520ca0710c (patch) | |
tree | 1e756b3dbb83f211d330106d5203cbfdf95c327d /src/widgets/dialogs | |
parent | 7ff72d0a0f1f4964e4d4fd250283711fc51db016 (diff) |
QString::number(int): Avoid going through qlocale machinery
For increased performance, as measured with the number_qu?longlong
QString benchmarks.
The results are all good, reducing runtime by anywhere between 40
and 220 nanoseconds. The slowest test previously completing at ~330ns,
now completing at ~105ns.
Task-number: QTBUG-88484
Change-Id: Ie96e86e57b635bac01389aed531a6d9f087df983
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/widgets/dialogs')
0 files changed, 0 insertions, 0 deletions