You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, pinkio is convenient (and easy to implement) but clearly very inefficient, both from a memory and time point of view: it was written essentially to offer a backward compatibility with the internal tools we were using before. I don't have any knowledge about standard binary graph format (if any, the one that I found where all text based) and any suggestion is welcome.
As a homemade solution, I think that we can just store the source and target arrays obtained from UndirectedGraph.edge_list and reconstruct it with UndirectedGraph.add_edges. Then, in Python, I would use a hdf5 file (with H5py) to store the arrays. The hdf5 format is very efficient and it would be easy to also store vertex/edges attributes in the same file.
Pink graph io is time consuming compared to tree io (for the same image) :
That would be nice to offer a binary save alternative.
The text was updated successfully, but these errors were encountered: