summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qhash.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2015-11-21 01:04:39 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2015-11-23 18:52:46 +0000
commitfa00afe7d760d91cf9c91f57dd2f77625e758e28 (patch)
treeb6c947fdc3f69c893592c3dd43ed8cbca0e30f43 /src/corelib/tools/qhash.cpp
parent073a16e50e5803fc92dc46bca704f8a7ef79e597 (diff)
Optimize QTextEngine::findItem() usage cases
Since the item positions are guaranteed to grow, we could safely re-use the obtained first item while looking for the last item in the chain. Change-Id: I5e42f5de820c62a51a109a4b227b031c697aa898 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/corelib/tools/qhash.cpp')
0 files changed, 0 insertions, 0 deletions