Revision 884039
Go back to digest for 16th November 2008Optimization in KDE Base
Maks Orlovich committed changes in /trunk/KDE/kdelibs/kjs:
Change how we store the scope chain --- instead of always using a separate ScopeChainNode, we store a single link inline inside ActivationImp's when possible.
This gives a (disappointing) 3.1% speedup on SunSpider, but on the plus side:
1. Control-flow-intensive benchmarks are as much as 10-20% faster
2. Improvements are pretty much accross the board.
Plus, this should mesh nicely with multi-level static binding lookup improvements.
File Changes
Modified 8 files
- /trunk/KDE/kdelibs/kjs
- /ExecState.cpp
- /ExecState.h
- /function.cpp
- /JSVariableObject.cpp
- /JSVariableObject.h
- /LocalStorage.h
- /object.h
- /scope_chain.h
8 files changed in total