diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-02-09 20:38:21 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-02-09 20:48:34 +0100 |
commit | 0e6fe766ddcbb7e717524d71c82cbeb04720cad5 (patch) | |
tree | 809f6b7ca345caf337be62eed05ee36157a71409 /src/shared/cplusplus/Array.h | |
parent | 62270c1c5b3503ec93e3e45b7508f022661bc7c8 (diff) | |
download | qt-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/Array.h')
0 files changed, 0 insertions, 0 deletions