Add pushfirst! and popfirst! methods for OffsetVectors#192
Conversation
Codecov Report
@@ Coverage Diff @@
## master #192 +/- ##
==========================================
- Coverage 99.28% 97.51% -1.77%
==========================================
Files 5 5
Lines 280 282 +2
==========================================
- Hits 278 275 -3
- Misses 2 7 +5
Continue to review full report at Codecov.
|
While I'm sympathetic to both views, I wouldn't say that "most uses of OffsetArrays are probably in that second world". In any case, if we agree that Since there are 2 concepts here, does it make sense to have 2 functions? Or perhaps a keyword argument? |
I have been puzzled about why I have never seen evidence of anyone creating a ZArrays.jl package. I created the Given that a dedicated ZArrays package could be used to handle the case you mentioned, that does leave more room for OffsetArrays to be focused on a world where "location matters." Do you have a need for You probably noticed this in the links that @fredrikekre kindly shared, but if not the BidirectionalVector in CatIndices is roughly how an array class supporting |
|
OK I'm happy to pass on this. |
No description provided.