Blender Git Commit Log

Git Commits -> Revision e09189c

Revision e09189c by Campbell Barton (master)
February 28, 2011, 04:37 (GMT)
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.

Commit Details:

Full Hash: e09189cf50682016e69fb207b010447c3bc6471d
SVN Revision: 35256
Parent Commit: ea5664c
Lines Changed: +31, -19

2 Modified Paths:

/release/scripts/modules/bpy/utils.py (+13, -11) (Diff)
/release/scripts/modules/bpy_types.py (+18, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021