[pypy-dev] Arrays in rpython

Timothy Baldridge tbaldridge at gmail.com
Mon Jun 6 20:18:21 CEST 2011

Is there a way in rpython to specify that a given list should be
implemented as an array? I want to create a list of objects exactly 32
entries long. I could use [] but it seems like that would be slower
than using an array. In CPython I can create an array of primitive
types, but I'm looking to create a array of object types.


“One of the main causes of the fall of the Roman Empire was
that–lacking zero–they had no way to indicate successful termination
of their C programs.”
(Robert Firth)

More information about the pypy-dev mailing list