comment
authorStefan Behnel <scoder@users.berlios.de>
Wed, 11 Nov 2009 07:29:40 +0000 (08:29 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Wed, 11 Nov 2009 07:29:40 +0000 (08:29 +0100)
Cython/Compiler/Optimize.py

index 9facac75e7e2de063fa08e96542798d48918ab7a..071748fb1fd3783e780873e83bd7a3d7ef763d18 100644 (file)
@@ -1068,8 +1068,10 @@ class OptimizeBuiltinCalls(Visitor.EnvTransform):
             # different types - may or may not lead to an error at runtime
             return node
 
-        # FIXME: we could potentially look up the actual tp_new C method
-        # of the extension type and call that instead of the generic slot
+        # FIXME: we could potentially look up the actual tp_new C
+        # method of the extension type and call that instead of the
+        # generic slot. That would also allow us to pass parameters
+        # efficiently.
 
         if not type_arg.type_entry:
             # arbitrary variable, needs a None check for safety