- Use example data to profile functionality (with profvis)
- Write a
summary,DSArray-method
This is a non-exhaustive list, see 'API and Supported Methods' section of ?DSArray
for some discussion of this topic.
order()
,sort()
order()
errors out since it calls the inherited method, which is ill-defined for DSArray objectssort()
is not an endomorphism on arrays; the dimensionality of the input is lost and an atomic vector is returned
mean
- see https://github.com/Bioconductor-mirror/S4Vectors/blob/master/R/Rle-utils.R
rowSums()
,colSums()
- Other
row*()
ancol*()
functions; see matrixStats
- Other
There are probably many more; how to find list of these (showMethods(classes = "array")
is too broad of a search)?
Pros of current implementation
val
is stored in contiguous memory- Get fast summaries of range
Cons of current implementation
- Less flexible than hash map
Questions of current implementation
- Is densification faster?