From: Stefan Behnel Date: Wed, 9 Dec 2009 15:59:37 +0000 (+0100) Subject: comment X-Git-Tag: 0.12.1~46 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=03960539a19d47e01d042e6a473fb4f8cff2dd0a;p=cython.git comment --- 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