I need the fastest method to deserialize a large list (20000 items) of a custom class where the class only contains integers, floats and string attributes.
Should I use pickle, cPickle, json or something else?
So far I tried pickle which crashes when I try to load. I tried to use json.dumps and it errors out saying my custom type is not serializable.
class MyType
...
list = []
for i in range(10000):
list.append(MyType(i))
list.serialize?