[pypy-svn] pypy numpy-exp: remove bad merge
fijal
commits-noreply at bitbucket.org
Wed May 4 11:56:33 CEST 2011
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-exp
Changeset: r43878:8100e72b756e
Date: 2011-05-04 11:48 +0200
http://bitbucket.org/pypy/pypy/changeset/8100e72b756e/
Log: remove bad merge
diff --git a/pypy/jit/tl/pypyjit_demo.py b/pypy/jit/tl/pypyjit_demo.py
--- a/pypy/jit/tl/pypyjit_demo.py
+++ b/pypy/jit/tl/pypyjit_demo.py
@@ -1,26 +1,10 @@
try:
-<<<<<<< local
import numpy
a = numpy.array(range(10))
b = a + a + a
print b[3]
-=======
- def g(x):
- return x - 1
- def f(x):
- while x:
- x = g(x)
- import cProfile
- import time
- t1 = time.time()
- cProfile.run("f(10000000)")
- t2 = time.time()
- f(10000000)
- t3 = time.time()
- print t2 - t1, t3 - t2, (t3 - t2) / (t2 - t1)
->>>>>>> other
except Exception, e:
print "Exception: ", type(e)
print e
More information about the Pypy-commit
mailing list