[pypy-dev] array performace?

Armin Rigo arigo at tunes.org
Fri Jul 2 10:17:04 CEST 2010

Hi Fijal,

On Thu, Jul 01, 2010 at 09:35:17AM -0600, Maciej Fijalkowski wrote:
> The main reason why _rawffi.Array is slow is that JIT does not look
> into that module, so there is wrapping and unwrapping going on.
> Relatively easy to fix I suppose, but _rawffi.Array was not meant to
> be used like that (array.array looks like a better candidate).

If you mean "better candidate" for being fast right now, then you missed
my point: our array.array module is implemented on top of
_rawffi.Array.  If you mean "better candidate" for being optimizable
given some work, then yes, I agree that the array module is a good

A bientot,


More information about the Pypy-dev mailing list