Pardon what may seem like a dumb question, but say that I have a TFile
that contains a TList. The TFile is used to persistently store the
TList object. The TList, however, can change quite a bit, with
objects being added and deleted from program execution to program
execution. Is there some efficient way to update an object in a
TFile? It seems like if I read in the TList and change it, I'll have
to delete the TList from the TFile and then write it anew. If the
TList has many objects in it, that sounds like it could be
expensive... Is there a better way? (I suppose not writing a
collection as a single key would be of some help, but I like the idea
of keeping the collection together as a single object.)
Thanks,
Reid