From: Robert Bradshaw Date: Thu, 10 Dec 2009 19:00:39 +0000 (-0800) Subject: Typo fix. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ee003c1ec29895c68cf03aa3b0c9a334a15a2ac7;p=cython.git Typo fix. --- diff --git a/src/tutorial/profiling_tutorial.rst b/src/tutorial/profiling_tutorial.rst index cd7ed158..5dc6a633 100644 --- a/src/tutorial/profiling_tutorial.rst +++ b/src/tutorial/profiling_tutorial.rst @@ -201,7 +201,7 @@ profile script then at all. The script now outputs the following:: We gained 1.8 seconds. Not too shabby. Comparing the output to the previous, we see that recip_square function got faster while the approx_pi function has not -changed a lot. Let's concentrate on the approx_pi function a bit more. First +changed a lot. Let's concentrate on the recip_square function a bit more. First note, that this function is not to be called from code outside of our module; so it would be wise to turn it into a cdef to reduce call overhead. We should also get rid of the power operator: it is turned into a pow(i,2) function call by