diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-28 07:37:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-28 07:37:24 +0300 |
commit | e09189cf50682016e69fb207b010447c3bc6471d (patch) | |
tree | 7d35a340741c282f79714be4ede58b5fd56e1ff1 /build_files/scons/tools | |
parent | ea5664c0d17b8faa0385e9a46da4cd279e42d678 (diff) |
complete lazy loading of py modules to use to a reduced set of pythons modules, gives ~40% speedup on cold & warm start (without netrender).
- use own OrderedDictMini class, pythons collections.OrderedDict is overkill, 179 sloc. replaced with own, 11 lines.
- remove code which stored the class file & line per RNA subclass, this was useful but would raise its own exception every time to generate a stack trace to get the class info so we could use of the class failed to register. the class stores its module & name which can be enough to find where it was defined.
Diffstat (limited to 'build_files/scons/tools')
0 files changed, 0 insertions, 0 deletions