Compressing weaved revisions?

Gustavo Niemeyer gustavo at niemeyer.net
Sat Oct 1 16:08:06 BST 2005


> Well, the current implementation lets you just recreate the current 
> weave format in memory.

I think the point Aaron was referring to is that in the current format
reviving dead lines is a bit unpleasant. Take, the following example:

  { 1
  [ 5
  { 2
  A
  }
  { 3
  B
  }
  { 4
  C
  }
  ] 5
  }

How would you revive those 3 lines?  With the current syntax, you'd
have to do something like:

  { 1
  [ 5
  { 2
  { 6
  A
  }
  }
  { 3
  { 6
  B
  }
  }
  { 4
  { 6
  C
  }
  }
  ] 5
  }

Which is certainly possible, but not quite adequate. One
interesting possibility to do that would be to have indexes
on closing of insertions as well. For instance:

  { 1
  { 6
  [ 5
  { 2
  A
  } 2
  { 3
  B
  } 3
  { 4
  C
  } 4
  ] 5
  } 6
  }

-- 
Gustavo Niemeyer
http://niemeyer.net




More information about the bazaar mailing list