summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Name.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-09 20:38:21 +0100
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-09 20:48:34 +0100
commit0e6fe766ddcbb7e717524d71c82cbeb04720cad5 (patch)
tree809f6b7ca345caf337be62eed05ee36157a71409 /src/shared/cplusplus/Name.cpp
parent62270c1c5b3503ec93e3e45b7508f022661bc7c8 (diff)
downloadqt-creator-0e6fe766ddcbb7e717524d71c82cbeb04720cad5.tar.gz
optimize function scoping
previously, the entire value hash was simply pushed on a stack upon entering a custom function. the problem with that was that setting the function's argument already detached (i.e., copied) the entire hash. so instead store only actually modified values in nested scopes and let lookups cascade to parent scopes. improvement: 2% for qt, 15% for creator ...
Diffstat (limited to 'src/shared/cplusplus/Name.cpp')
0 files changed, 0 insertions, 0 deletions