[SciPy-user] Sparse Pickle

David Warde-Farley dwf@cs.toronto....
Fri Feb 1 11:41:04 CST 2008


Hi Dinesh,

There should be no problem pickling any of those, but what are you  
using it for? Pickle (even cPickle) tends to be pretty slow for large  
objects.

In case you do need something quicker, if you look through the mailing  
list archives you'll see that Andrew Straw posted some really clever  
code for quickly saving/loading CSR and CSC sparse matrices to/from  
the filesystem.

Cheers,

David

On 1-Feb-08, at 11:12 AM, Dinesh B Vadhia wrote:

> Once a sparse matrix (of any format but in particular coo_matrix)  
> has been populated can it (or a csr_matrix after a tocsr()) be  
> Pickle'd?  Cheers.
>
> Dinesh
>
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20080201/4394d98c/attachment.html 


More information about the SciPy-user mailing list