Diff between object graphs?

Cem Karan cfkaran2 at gmail.com
Wed Apr 22 21:53:55 EDT 2015


On Apr 22, 2015, at 9:46 PM, Chris Angelico <rosuav at gmail.com> wrote:

> On Thu, Apr 23, 2015 at 11:37 AM, Dave Angel <davea at davea.name> wrote:
>> On 04/22/2015 09:30 PM, Cem Karan wrote:
>>> 
>>> 
>>> On Apr 22, 2015, at 8:53 AM, Peter Otten <__peter__ at web.de> wrote:
>>> 
>>>> Another slightly more involved idea:
>>>> 
>>>> Make the events pickleable, and save the simulator only for every 100th
>>>> (for
>>>> example) event. To restore the 7531th state load pickle 7500 and apply
>>>> events 7501 to 7531.
>>> 
>>> 
>>> I was hoping to avoid doing this as I lose information.  BUT, its likely
>>> that this will be the best approach regardless of what other methods I use;
>>> there is just too much data.
>>> 
>> 
>> Why would that lose any information???
> 
> It loses information if event processing isn't perfectly deterministic.

Precisely.  In order to make my simulations more realistic, I use a lot of random numbers.  I can fake things by keeping the seed to the generator, but if I want to do any sort of hardware in the loop simulations, then that approach won't work.

Thanks,
Cem Karan


More information about the Python-list mailing list