[pypy-dev] array performace?
hakan at debian.org
Thu Jul 1 16:02:30 CEST 2010
are there any python construct that the jit will be able to compile
into c-type array accesses? Consider the following test:
for i in xrange(640,640*480):
With the 1.3 release of the jit it executes about 20 times slower than
a similar construction in C if I create the arrays using:
RAWARRAY = _rawffi.Array('d')
Using a list is about 40 times slower and using array.array is about
400 times slower. Any suggestion on how to improve the performance of
these kind of constructions?
More information about the Pypy-dev