Object Diffs

Irmen de Jong irmen at -NOSPAM-xs4all.nl
Tue Aug 9 13:57:30 EDT 2011


On 08-08-11 21:50, Croepha wrote:
> Hello Python list:
>
> I am doing research into doing network based propagation of python
> objects.  In order to maintain network efficiency. I wan't to just
> send the differences of python objects, I was wondering if there
> was/is any other research or development in this area? I was thinking
> that I could look at how pickle works an implement a diff system
> there, or I could actually create a pickle of the object and then use
> difflib to compare the flattened text...
>
> Ideas, or comments welcome
>

No Python code, but you may want to have a look at the DeltaCompressor 
of the Kryo serializer (written for Java).
http://code.google.com/p/kryo/

(disclaimer: I haven't used it, just read a little bit about it)

Irmen



More information about the Python-list mailing list