summaryrefslogtreecommitdiffstats
path: root/mkspecs/aix-g++-64
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-10-28 15:45:46 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-10-29 11:48:20 (GMT)
commit093ededb85c73f30ce3abf43bc6da0fff55323c2 (patch)
tree0557a7a11628f216e8b3663eecfa0fa34a4bde81 /mkspecs/aix-g++-64
parent30099d68599d23b7e9c39e3f2e23a1bb5c6dd7dc (diff)
downloadQt-093ededb85c73f30ce3abf43bc6da0fff55323c2.zip
Qt-093ededb85c73f30ce3abf43bc6da0fff55323c2.tar.gz
Qt-093ededb85c73f30ce3abf43bc6da0fff55323c2.tar.bz2
Cache QState's child states
This is the same type of optimization as that done for transitions in commit 5d8dcd57cd13fdd9c8643fa3bdda9f197a4351ff. The idea is to avoid calling qobject_cast() because it's very expensive. Obtaining child states needs to be as fast as possible because it's in the critical path of the state machine algorithm; it's called by a ton of internal functions, like isCompound(), isAtomic(), isInFinalState(). It's also called heavily for parallel state groups. Reviewed-by: Eskil Abrahamsen Blomfeldt
Diffstat (limited to 'mkspecs/aix-g++-64')
0 files changed, 0 insertions, 0 deletions