diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2017-10-27 16:12:48 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2017-11-30 20:19:59 +0000 |
commit | 88d5ba540925d2c090d356d7a28a372e7f696b3a (patch) | |
tree | f7bdfa49385bcd5629eb1a7837e8acf4bf032f18 /mkspecs/qnx-x86-qcc | |
parent | a99c773972d845e453a86974653df19f60d8e7ca (diff) |
QWinTimeZonePrivate: make transition searches more efficient
Iterate rules (now that there's fewer of them than years) with only a
secondary iteration on years (when needed - in which case it should
never need more than two iterations). In particular, avoid iterating
years to the MIN_YEAR and MAX_YEAR extremes on failure; fail faster !
Change-Id: I354af8e0cb1e484c8abda279991e6e1824f9f7d4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs/qnx-x86-qcc')
0 files changed, 0 insertions, 0 deletions