diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2024-01-29 16:37:49 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2024-02-01 21:50:50 +0100 |
| commit | 0e8a8c3aa29b2007a2a2a3baec4bb52f7d9e7335 (patch) | |
| tree | 1160e21b7577cbdbffe7ef600c74e8e0317560ce /src/widgets/doc/snippets/widgetdelegate.cpp | |
| parent | 4b2eb26bf99f5bda3ca579213a6db4363059c0aa (diff) | |
QTZP: use binary search more on timezone ID tables
The zone and Windows data tables are sorted on Windows ID and its key
(which are monotonic functions of one another) so we can use binary
chop to find the first matching entry in each, when searching on
these. Furthermore, the search for ID from key can be shortcut as the
keys should normally be consecutive integers starting with 1.
Change-Id: I53f7ff8c93fd6d3d9e48c7bb86060746b68fab3d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/doc/snippets/widgetdelegate.cpp')
0 files changed, 0 insertions, 0 deletions
