E&S CVS Commit: PEAK - Modifications to make property lookup more space/time efficient for apps

pje at eby-sarna.com pje at eby-sarna.com
Fri Oct 11 16:06:00 EDT 2002


Module Name:	PEAK
Committed By:	pje
Date:		Fri Oct 11 20:05:44 UTC 2002

Modified Files:
	PEAK/src/peak/binding: components.py
	PEAK/src/peak/config: config_components.py

Log Message:
Modifications to make property lookup more space/time efficient for apps
with lots of components.  A property map was being auto-created for each
component a lookup passed through, even though it was a read-only
operation.  So I added a 'getBindingIfPresent()' method to allow read-only
access to a Once attribute if present, and changed the lookup code to use
it.  I also changed property map objects to do the same thing, and also
changed them to use themselves as their source for their own configuration
data!


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.46&r2=1.47
http://cvs.eby-sarna.com/PEAK/src/peak/config/config_components.py.diff?r1=1.9&r2=1.10

To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 PEAK/src/peak/binding/components.py
cvs rdiff -r1.9 -r1.10 PEAK/src/peak/config/config_components.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