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

faster import, no int outputs #109

Merged
merged 5 commits into from
Aug 5, 2022
Merged

faster import, no int outputs #109

merged 5 commits into from
Aug 5, 2022

Conversation

bmcfee
Copy link
Owner

@bmcfee bmcfee commented Aug 5, 2022

Fixes #108
Fixes #107

This PR reduces the import time by only JIT-compiling guvectorized functions as needed.

As part of this change, we no longer support int->int resampling, and will always upcast integer inputs to float32 outputs.

@bmcfee bmcfee added this to the 0.4.0 milestone Aug 5, 2022
@codecov-commenter
Copy link

codecov-commenter commented Aug 5, 2022

Codecov Report

Merging #109 (716a704) into main (29d3487) will decrease coverage by 0.86%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
- Coverage   81.44%   80.58%   -0.87%     
==========================================
  Files           4        4              
  Lines          97      103       +6     
==========================================
+ Hits           79       83       +4     
- Misses         18       20       +2     
Flag Coverage Δ
unittests 80.58% <80.00%> (-0.87%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
resampy/core.py 79.62% <75.00%> (-1.63%) ⬇️
resampy/version.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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