[SciPy-Dev] RFC: sparse DOK array

Evgeni Burovski evgeny.burovskiy at gmail.com
Mon Mar 28 17:51:04 EDT 2016


On Mon, Mar 28, 2016 at 5:37 PM, CJ Carey <perimosocordiae at gmail.com> wrote:
> Another alternative: https://github.com/perimosocordiae/sparray
>
> I tried to follow the numpy API as closely as I could, to see if something
> like this could work. The code isn't particularly optimized, but it does
> beat CSR/CSC spmatrix formats on a few benchmarks. My plan going forward is
> to have swappable (opaque) backends to allow for tradeoffs in speed/memory
> for access/construction/math operations.
>
> Apologies for the lacking documentation! The only good listing of current
> capabilities at the moment is the test suite
> (https://github.com/perimosocordiae/sparray/tree/master/sparray/tests).


Wow, a great one from the Happy Valley!

I've quite a bit of catching up to do --- you are miles ahead of me in
terms of feature completeness.

One difference I see is that you seem to be using a flat index. This
likely does not play too well with assembly, which is what I tried to
take into account.

Would you be interested to join forces?

Cheers,

Evgeni



More information about the SciPy-Dev mailing list