Remove workarounds now that sparse-0.9.1 has numba support#229
Remove workarounds now that sparse-0.9.1 has numba support#229eric-wieser wants to merge 1 commit intopygae:masterfrom
Conversation
039f924 to
821d11d
Compare
821d11d to
2ceacc7
Compare
|
This looks exciting, really nice @eric-wieser ! Is there any impact on performance? |
|
Who knows? We don't really have any canonical benchmarks. |
|
Mac CI is failing because |
|
Hmm, seems ~1.4x slower to startup: With this patch Without this patch: @stuartarchibald, can you think of why this would be the case? |
|
Multiplication hasn't really changed: before: |
@eric-wieser perhaps this: numba/numba#4927 ? |
|
The before and after measurements are done with the same dependency versions, and are after numba and sparse have already been imported - it seems that the compilation time is where the cost comes from. |
Ah, could well be, there's some degree of caching available |
|
Before this patch: After this patch: |
|
@eric-wieser So it actually comes out faster? |
|
No - note the |
xref pydata/sparse#307