Skip to content
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

General Improvements: C extension, Py2 Py3 compatibility, Performance #7

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

backbord
Copy link

Hi,

I recently experimented with this library and wrote a C extension for it.
It is my very first C extension and I had many looks at the great python-blosc C extension (https://github.com/Blosc/python-blosc/blob/master/blosc/blosc_extension.c).

Perhaps you might want to review, rewrite, or even include this pull request into your repo.

  • C extension (with fallback to python code)
  • Rewrote python code to match C code more closely -- which doubled the performance (on my machine)
  • Python 2 and Python 3 compatible (except for the doctests, sorry).

Please feel free to cherry pick. :-)

Best regards,
Tim

- Rewrote python code to match C code more closely -- which doubled the performance (on my machine)
- Python 2 and Python 3 compatible (except for the doctests, sorry).
@thenoviceoof
Copy link
Owner

Thanks for the PR! I'm a bit swamped with my day job and goals; I'll try to take a look this weekend. Sorry about the delay in communication!

@backbord
Copy link
Author

No problem at all -- I hope the PR is somewhat acceptable to you. :)

sscherfke and others added 6 commits March 10, 2017 13:52
... because this is easier than fixing the extension on Windows.
Only build C-extension if not on Windows
This enables us to do "pip install git+<repo-URI>".
Remove the / at the end of the paths in setup.py
@backbord
Copy link
Author

Hi, any news on this PR? :)

@sscherfke
Copy link

Any chance this PR will get merged?

@sscherfke sscherfke mentioned this pull request Jul 13, 2018
@sscherfke
Copy link

@backbord we should try to make it compatible with py37 (see #8) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants