summaryrefslogtreecommitdiffstats
path: root/.tag
diff options
context:
space:
mode:
authorJohn Layt <jlayt@kde.org>2013-09-26 16:51:48 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-31 22:01:40 +0100
commit1da1259c281f2098ae11d928f1664cf00d379076 (patch)
treeebc6734d64d7f55763657da197ee55ca235eb8d4 /.tag
parente7db02e79eec24015fcc4c2d2bc56c8c40c50e42 (diff)
QDateTime - Optimize date() and time() methods
Optimize the performance of date() and time(), resulting in a one-third improvement, and subsequent improvements in all date/time based functions. Tested over 1000 iterations of the standard benchmarks, in msecs per iteration: Before After date()/time() 0.3 0.2 setDate()/setTime() 0.9 0.8 daysTo() 0.6 0.4 Note original performance before msecs storage was 0.06. Change-Id: Ie838e560ddf7129281531dc965af56ac19cce91d Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to '.tag')
0 files changed, 0 insertions, 0 deletions