Good day to all. This is a question about data persistence.
A complex data structure, many hashes deep and many hashes wide, needs to be read from and written to. It needs to persist between program runs. I don't need to have more than a bit of it in memory at any time.
I found use MLDBM
Pros: does all the above.
Cons: Need to extract a reference to work on and save it back to the file. EDIT
: Con: can't edit references directly in the database file because references are no longer tied once extracted. This makes for clunkier code.
Is this good, bad, and/or ugly? Is this the state of the art? What are the different ways that monks have dealt with this kind of situation? Will I ever come to a decision? Am I forever doomed to to obsess about it? Tune in next week . . .
Thank you all.
: spell check fail (persistance changed to persistence) (thank you erix)