It\'s taking me up to an hour to read a 1-gigabyte NetworkX graph data structure using cPickle (its 1-GB when stored on disk as a binary pickle file).
Note that the
why don't you use pickle.load?
pickle.load
f = open('fname', 'rb') graph = pickle.load(f)