Hacker News new | ask | show | jobs
by joshuamorton 3358 days ago
To expand on fnord, to my knowledge, pickle handles all of these things. Its still a bad solution, but it does everything you want.

    pickle.dump(f, anyobject)
    anyobject = pickle.load(f)
1 comments

Pickle had size constraints that make it unsuitable in certain ML applications.
Indeed, but I expect that's also true for matlab's vanilla solution.
Does using protocol version 4 help with this?