E&S CVS Commit: PEAK - 4X speedup for peak.model attribute reads. Unfortunately, they still can
pje at eby-sarna.com
pje at eby-sarna.com
Sun Feb 23 16:25:00 EST 2003
Module Name: PEAK
Committed By: pje
Date: Sun Feb 23 21:24:02 UTC 2003
Modified Files:
PEAK/src/peak/binding: components.py
PEAK/src/peak/metamodels/UML13/Foundation: Core.py
PEAK/src/peak/metamodels/tests: General.py
PEAK/src/peak/model: elements.py features.py
Log Message:
4X speedup for peak.model attribute reads. Unfortunately, they still can
be as much as 40x slower than regular Python attributes. :( There's
probably more that could be shaved out, if I write some more Pyrex code.
This change affects how derived attributes are defined: now you override
the 'get()' method instead of '_getList()', which is a lot clearer.
To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/binding/components.py.diff?r1=1.81&r2=1.82
http://cvs.eby-sarna.com/PEAK/src/peak/metamodels/UML13/Foundation/Core.py.diff?r1=1.3&r2=1.4
http://cvs.eby-sarna.com/PEAK/src/peak/metamodels/tests/General.py.diff?r1=1.19&r2=1.20
http://cvs.eby-sarna.com/PEAK/src/peak/model/elements.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PEAK/src/peak/model/features.py.diff?r1=1.1&r2=1.2
To generate a diff of this commit:
cvs rdiff -r1.81 -r1.82 PEAK/src/peak/binding/components.py
cvs rdiff -r1.3 -r1.4 PEAK/src/peak/metamodels/UML13/Foundation/Core.py
cvs rdiff -r1.19 -r1.20 PEAK/src/peak/metamodels/tests/General.py
cvs rdiff -r1.1 -r1.2 PEAK/src/peak/model/elements.py \
PEAK/src/peak/model/features.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