Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'wasteful design' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
wasteful design
Authored by: nyarlathotep on Sep 05, '08 09:20:38AM

Seems naive & wasteful copying LastSession.plist. I mean, what about all those times when the file is the same?

You should use rcs instead. It'll only store data when LastSession.plist changes. And only store the changes. Ideally you should increment the major version number whenever Safari's pid changed.

You could also write history browser using an xml parser to extract the data for individual specific revisions, thus allowing the user browse their history.



[ Reply to This | # ]