From ee003c1ec29895c68cf03aa3b0c9a334a15a2ac7 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 10 Dec 2009 11:00:39 -0800 Subject: [PATCH] Typo fix. --- src/tutorial/profiling_tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2