On Tue, Feb 16, 2010 at 8:03 AM, Turner Hayes <[email protected]> wrote: [chomp] >> >> org.waveprotocol.wave.model.document.operation.algorithm.Transformer >> is a fun read. > > Thanks. Call me stupid, but I've been having a bit of trouble tracing the > source. As far as I can see, though, it seems that the solution is that the > transformer essentially keeps separate pointers over the two streams and > runs through the streams, manipulating the pointers as necessary and > creating a new operation. Is that right?
That is my understanding, yes. A pair of strategy instances, in effect. It hurt my head figuring out what it is doing. I found it was more enlightening to run it up with a pair of test transforms and watch it do it's magic under a debugger. -- Brett Morgan http://domesticmouse.livejournal.com/ -- You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.
