Closed ianthomas23 closed 11 months ago
Merging #1260 (55de7b3) into main (81260ca) will decrease coverage by
0.02%
. The diff coverage is94.73%
.
@@ Coverage Diff @@
## main #1260 +/- ##
==========================================
- Coverage 83.49% 83.48% -0.02%
==========================================
Files 35 35
Lines 8955 8931 -24
==========================================
- Hits 7477 7456 -21
+ Misses 1478 1475 -3
Files Changed | Coverage Δ | |
---|---|---|
datashader/reductions.py | 78.05% <87.50%> (-0.09%) |
:arrow_down: |
datashader/utils.py | 82.71% <100.00%> (-0.20%) |
:arrow_down: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Refactor of
*_n
reductions such asmax_n
so that all shift and insert functionality is in a singleshift_and_insert
function rather than repeated across the codebase. The new function takes a 1D array of lengthn
(then
of themax_n
or similar), thevalue
to insert and theindex
to insert at. The function shifts alongs values fromindex
onwards one along the array and inserts thevalue
.This is CPU only, GPU equivalent will follow in a separate PR.