[pypy-issue] [issue1074] array creation from existing list slow
Carl Friedrich Bolz
tracker at bugs.pypy.org
Mon Feb 27 16:45:22 CET 2012
New submission from Carl Friedrich Bolz <cfbolz at gmx.de>:
Mike Müller wrote to the mailing list (
I just tested NumPyPy a bit. I got very long run times
for some tests. After some profiling, I identified the
array constructor as the main time sink.
This is a small example that makes the point.
import numpypy as numpy
r = range(int(1e7)) # or 1e6
The numbers are below. NumPyPy is like a factor of five
and more slower than NumPy creating an array of the same
size from an existing list.
I am just curious what the reason is and if you sees this
go away in the near future?
nosy: cfbolz, pypy-issue
priority: performance bug
title: array creation from existing list slow
PyPy bug tracker <tracker at bugs.pypy.org>
More information about the pypy-issue