E&S CVS Commit: PyProtocols - Squeeze another .4 microseconds out of the fast path, by using the program

pje at eby-sarna.com pje at eby-sarna.com
Sun Feb 6 15:08:00 EST 2005


Module Name:	PyProtocols
Committed By:	pje
Date:		Sun Feb  6 20:07:52 UTC 2005

Modified Files:
	PyProtocols/src/dispatch: functions.py

Log Message:
Squeeze another .4 microseconds out of the fast path, by using the program
counter to track the existence of the cache.  This removes a try/finally
and two local assignments from the fast path.  This is probably the last
such squeeze that can occur in Python without making more global changes
(like to the structure used for dispatch nodes).


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/functions.py.diff?r1=1.29&r2=1.30

To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 PyProtocols/src/dispatch/functions.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