On 24 February 2012 13:05, William ML Leslie <william.leslie.ttg@gmail.com> wrote:
On 24 February 2012 12:56, Timothy Baldridge <tbaldridge@gmail.com> wrote:
For a project I'm working on, I'd like to have support for gmp in pypy. I have a ctypes pypy module, but from what I understand, pypy's ctypes are a bit slow compared to CPython.
On the contrary, ctypes is particularly fast on pypy for common usage. Does your benchmark get to the point of JITting it?
Sorry, forgot to reply-all. -- William Leslie
On Thu, Feb 23, 2012 at 7:06 PM, William ML Leslie <william.leslie.ttg@gmail.com> wrote:
On 24 February 2012 13:05, William ML Leslie <william.leslie.ttg@gmail.com> wrote:
On 24 February 2012 12:56, Timothy Baldridge <tbaldridge@gmail.com> wrote:
For a project I'm working on, I'd like to have support for gmp in pypy. I have a ctypes pypy module, but from what I understand, pypy's ctypes are a bit slow compared to CPython.
On the contrary, ctypes is particularly fast on pypy for common usage. Does your benchmark get to the point of JITting it?
Sorry, forgot to reply-all.
That's not entirely true. You can debate what "common usage" means, but I had issues hitting the sweet spot.
participants (2)
-
Maciej Fijalkowski -
William ML Leslie