If we are to go for the pickle route, why not use shelve? I don't know what 
size of these databases we are expecting, but with shelve it is not necessary 
to read the entire file to e.g. get the data for a specific object if we use 
their name as the top dictionary key.

________________________________________
From: [email protected] [[email protected]] On Behalf Of nathan 
binkert [[email protected]]
Sent: Friday, January 06, 2012 11:26 PM
To: Ali Saidi
Cc: Default
Subject: Re: [gem5-dev] Review Request: config: support outputing a pickle of 
the configuration tree

> Ok.. The time struct was the only place where the dict isn't json compatible. 
> So it can be pickle or json. Any opinions?

I assume that you mean other than me.  I'm a fan of the json approach
since you can suck it in to lots of different things (and code that
has no M5 code available).

  Nate
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to