Wed Jun 8 21:55:14 CEST 2011

```Author: Hakan Ardo <hakan at debian.org>
Changeset: r3622:a689498f45d7
Date: 2011-06-08 21:55 +0200

Log:	some cpython results aswell

diff --git a/talk/iwtc11/benchmarks/convolution/convolution.py b/talk/iwtc11/benchmarks/convolution/convolution.py
--- a/talk/iwtc11/benchmarks/convolution/convolution.py
+++ b/talk/iwtc11/benchmarks/convolution/convolution.py
@@ -3,13 +3,13 @@
def conv3(a, k):
assert len(k)==3
b = array(a.typecode, [0]) * (len(a) - 2)
-    for i in range(len(b)):
+    for i in xrange(len(b)):
b[i] = k[2]*a[i] + k[1]*a[i+1] + k[0]*a[i+2]
return b

def conv5(a, k):
assert len(k)==5
b = array(a.typecode, [0]) * (len(a) - 4)
-    for i in range(len(b)):
+    for i in xrange(len(b)):
b[i] = k[4]*a[i] + k[3]*a[i+1] + k[2]*a[i+2] + k[1]*a[i+3] + k[0]*a[i+4]
return b
diff --git a/talk/iwtc11/benchmarks/result.txt b/talk/iwtc11/benchmarks/result.txt
--- a/talk/iwtc11/benchmarks/result.txt
+++ b/talk/iwtc11/benchmarks/result.txt
@@ -43,3 +43,6 @@
python
sqrt(float):   43.5761749744
sqrt(int):   32.1061348915
+sqrt(Fix16):   ???
+conv3:         76.4291441441
+conv5:         114.82663703
```