What is faster - Loading a pickled dictionary object or Loading a JSON file - to a dictionary? [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . What is faster: (A) 'Unpickling' (Loading) a pickled dictionary object, using pickle.load() or (B) Loading a JSON file to a dictionary using simplejson.load() Assuming: The pickled object file exists already in case A, and that the JSON file exists already in case B. 回答1: The speed actually depends on the data,