E&S CVS Commit: PEAK - Changed 'config.setupModule()' to not rerun the code of an unpatched module
pje at eby-sarna.com
pje at eby-sarna.com
Sun Nov 17 11:10:01 EST 2002
Module Name: PEAK
Committed By: pje
Date: Sun Nov 17 16:09:09 UTC 2002
Modified Files:
PEAK/src/peak/config: modules.py
PEAK/src/peak/model: api.py
Log Message:
Changed 'config.setupModule()' to not rerun the code of an unpatched module
with no __bases__. This means that __metaclasses__ support is disabled for
such modules, but it has been so rarely needed in practice that it's not
too big a deal. This shaves about another 3/4ths of a second off the UML
module initialization. It probably wouldn't be worth bothering with these
optimizations if it weren't for the fact that the time really adds up while
I'm prototyping the XMI_DM class. :(
To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/config/modules.py.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/PEAK/src/peak/model/api.py.diff?r1=1.37&r2=1.38
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/config/modules.py
cvs rdiff -r1.37 -r1.38 PEAK/src/peak/model/api.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
More information about the source-changes
mailing list