Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upENH: Add numba extension support for COO objects #307
Conversation
codecov
bot
commented
Jan 17, 2020
•
Codecov Report
@@ Coverage Diff @@
## master #307 +/- ##
==========================================
+ Coverage 93.5% 93.93% +0.42%
==========================================
Files 17 19 +2
Lines 2140 2308 +168
==========================================
+ Hits 2001 2168 +167
- Misses 139 140 +1 |
|
I'm willing to put this in, provided we find a reviewer. I'm afraid my experience with Numba isn't enough to review this PR. |
|
Or there are thorough tests -- More than willing to learn as I go! |
lgtm-com
bot
commented
Jan 17, 2020
|
This pull request introduces 3 alerts when merging 9f20773 into 9e1213a - view on LGTM.com new alerts:
|
0e20f78
to
9210ba7
lgtm-com
bot
commented
Jan 17, 2020
|
This pull request introduces 1 alert when merging 9210ba7 into 9e1213a - view on LGTM.com new alerts:
|
9089f3d
to
667cd34
Added some tests that should hopefully cover everything here |
667cd34
to
bc79529
|
Could you perform a quick memory test and see if creating a humongous number of objects doesn't blow up memory? Doesn't need to be in the code. Also, adding the |
Perhaps selfish, but since my application leaves that as 0, I'd prefer to leave that to a follow-up. Hopefully with something like this patch in place, it will be easier for others to work out how to add properties. |
ab77f64
to
bfba121
bfba121
to
ba686f0
I don't have a good feel for what such a test would look like. |
Just something that boxes and unboxes random |
It is, but there's a correctness problem here. At least check if it's zero? |
Ugh, that's unfortunate. Probably easier to add it than to work out how to insert an exception somewhere. (edit: done) |
0e2bd10
to
8cb6821
8cb6821
to
9dca6c0
|
You need to run |
c443814
to
b419c38
b419c38
to
7e8545c
Decided that a better choice was to avoid having such long expressions - updated to not need any line-wrapping. |
|
@hameerabbasi, let me know if you want anything else here, I'm losing track. |
|
Thanks, @eric-wieser! |
eric-wieser commentedJan 17, 2020
•
edited
Over in pygae/clifford, we're finding we want to be able to write optimized loops using
arr.coordsandarr.data.This aims to be the minimum amount needed to make that work.
Marking as draft since this has no testscc @stuartarchibald, @luk-f-a