From 03960539a19d47e01d042e6a473fb4f8cff2dd0a Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 9 Dec 2009 16:59:37 +0100 Subject: [PATCH] comment --- Cython/Compiler/Optimize.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index 8c97b074..989ca2d8 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -733,6 +733,10 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform): This transform cannot make use of any argument types, but it can restructure the tree in a way that the type analysis phase can respond to. + + Introducing C function calls here may not be a good idea. Move + them to the OptimizeBuiltinCalls transform instead, which runs + after type analyis. """ # only intercept on call nodes visit_Node = Visitor.VisitorTransform.recurse_to_children -- 2.26.2