Alejandro Tejada <capellan2000@...> writes:

> Look, for example, the contents of an element
> of the Undo Array. The Undo Array contains 
> a xml description of all controls placed in
> a single card:

I think xml is probably the wrong format for this data. In order to determine
the difference between versions you're going to have to unpack the xml data,
find what has changed, pack that data back into xml, and store that. That's a
lot of unnecessary work.

Much easier (and faster and less memory for storage) to store an array whose
keys are the property names and whose elements are the values. Then use
Richard's merge function to find the deltas quickly.

-- 
 Mark Wieder
 mwie...@ahsoftware.net





_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to