diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-05-08 12:14:09 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-15 11:39:11 +0200 |
commit | 65557f0c5a10321359c9875be9cdb45cf5a28934 (patch) | |
tree | e7c8e6c3646d041d424412b7daa64d95a87096e4 /src/qml/doc/src/cppintegration | |
parent | 32398200fbb5b7e9ad4a1d1bfcf51b9fbd34a758 (diff) |
V4 IR: change BasicBlockSet::const_iterator to use std::find.
When the storage in the BasicBlockSet is a std::vector<bool>, the
begin() iterator and the ++operator now use std::find. Good STL
implementations have an optimized version specifically for
std::vector<bool> that is a lot faster than the iterating that was used
before. The change also makes the code more readable.
Change-Id: Ic37bac694c133c597b3d61a91b04a0b758516dc3
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/doc/src/cppintegration')
0 files changed, 0 insertions, 0 deletions