[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

fs deltification

From: Karl Fogel <kfogel_at_collab.net>
Date: 2001-07-03 00:01:24 CEST

Branko, what is the status of the delta combiner you were working on?

Right now, I'm pondering the question of how delta composition might
be affected by our desire to operate on files "streamily" (that is, to
avoid holding a file's entire contents in memory at once).

The public svn_fs.h interfaces are in good shape:

   svn_fs_file_contents()
   svn_fs_apply_textdelta()
   svn_fs_get_file_delta_stream()

but under the hood, they turn out to be a shameless sham (or shamless
shame, if you prefer):

   txn_body_get_mutable_source_stream()
   write_to_string()

and for those that aren't a sham (svn_fs_file_contents), it's still
not completely clear what the best way to handle deltification is.
I've scattered some comments throughout the code, and am taking home
fs-improvements.txt to reread your notes tonight. It seems reasonable
to me that if one can compose file deltas at all, one can compose them
for particular ranges of the target data w.l.o.g.; however, I haven't
actually got code to do it yet.

Anyway, this is just a heads up that I'm 100% on this problem now. If
you already have a Grand Plan, go ahead and start committing; or if
not, let's come up with a Grand Plan asap.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:32 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.