~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4398.8.3.

  • Committer: John Arbash Meinel
  • Date: 2009-06-02 19:59:17 UTC
  • mto: This revision was merged to the branch mainline in revision 4469.
  • Revision ID: john@arbash-meinel.com-20090602195917-j9wym7m75ed9tnk8
Rewrite some of the internals of KnitVersionedFiles._add()

Avoid creating lots of copies of the same data using a direct implementation
of Knit.add_text.
We still always create 1 list of the lines and 1 fulltext string, but at least
now we should avoid having more than those 2 copies.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: