-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CFFI bindings for murmur3 #8
Comments
I'm not familiar with what is required to resolve this. @thedrow do you have any examples or documentation for me to reference? |
@thedrow I've made a cursory step towards improving PyPy performance with 570dcbe Speedups are approximately 3x-4x and bring PyPy performance in line with CPython/C-Extension performance, without having to dig into CFFI. Additionally, it lays a little groundwork for initial support of Jython. I'd appreciate any feedback. |
Just a rough estimate actually shows that PyPy with the pure python fallback is considerably faster than CPython/C-Extension variant.
EDIT above results are flawed, the C-Extension is not loaded by the CPython interpreters. |
A quick and dirty comparison for Python 2.7.10 and PyPy 2.6.0 using Pure Python, CFFI, and native extensions.
|
Let's also try the new out of line method for binding C code with CFFI. See https://cffi.readthedocs.org/en/latest/cdef.html#upgrading-from-cffi-0-9-to-cffi-1-0 |
We need CFFI bindings for murmur3 in order for this library to work fast on PyPy.
It shouldn't be that hard since we're only using a few methods from that library.
The text was updated successfully, but these errors were encountered: