On Feb 14, 9:40 am, Christian Ohler <[email protected]> wrote:
<snip>
>
> Oh, and "retain" is not an operation, it's an operation component :)
> Specifying an absolute position/range for each component would indeed
> be an alternative. The way we defined our operation components forces
> each operation to traverse the document exactly once, from left to
> right, which leads to more efficient algorithms for transform and
> compose.
After further contemplation, it strikes me that it should be fairly
trivial to have each operation traverse the document exactly once with
absolute positions: e.g.
foreach(position in document) {
if(there is an op component at this position) {
apply the op component here
}
else {
just copy the item at this position to the output
}
}
Is there any reason I've overlooked why that might not work, or is too
inefficient?
Thanks,
Turner
>
> Hope this helps,
> Christian.
--
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.