[POS-commit] Kiwi/tests benchmark_kgetattr.py,1.1,1.2

nobody at async.com.br nobody at async.com.br
Sun May 18 17:53:14 BRST 2003


Update of /cvs/Kiwi/tests
In directory anthem:/tmp/cvs-serv6118/tests

Modified Files:
	benchmark_kgetattr.py 
Log Message:
Optimized the no-get_getter-on-object case, by directly decoding the opcode
into cache format.
r=kiko


Index: benchmark_kgetattr.py
===================================================================
RCS file: /cvs/Kiwi/tests/benchmark_kgetattr.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- benchmark_kgetattr.py	11 May 2003 07:23:06 -0000	1.1
+++ benchmark_kgetattr.py	18 May 2003 20:53:12 -0000	1.2
@@ -20,8 +20,8 @@
         self.a = 0
 
 class Get_Value_Getter(Getattr_Getter):
-    def get_getter(self, attr_name, cache):
-        return getattr(self, "get_%s" % attr_name)
+##    def get_getter(self, attr_name, cache):
+##        return getattr(self, "get_%s" % attr_name)
     def get_a(self):
         return self.a
 



More information about the POS-commit mailing list