aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/loader/groupshandler.h
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2024-06-11 01:59:55 +0300
committerIvan Komissarov <ABBAPOH@gmail.com>2024-06-11 13:10:52 +0000
commit8b65b997d7be9da54f764a432f81309ee1431591 (patch)
tree8184932209f48897e8b52e0d6e71cc4d593d2076 /src/lib/corelib/loader/groupshandler.h
parent9bf46cd0ca0bd9af9821092467a81cfbea86a9c3 (diff)
ScriptEngine: avoid allocations in scope stackHEADmaster
We did quite a lot of job here. Not only the scope vector was copied into the stack every time, but also in doExtraScopeLookup we shift the scope vector with a globalObject potentially reallocating it again. ========== Performance data for Resolving ========== Old instruction count: 10380408662 New instruction count: 10286147230 Relative change: -1 % Old peak memory usage: 112264496 Bytes New peak memory usage: 110945832 Bytes Relative change: -2 % Change-Id: I2437ec6173a171ae7eadd74ab785352a213b1bc7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/loader/groupshandler.h')
0 files changed, 0 insertions, 0 deletions