On Tuesday, September 24, 2002, at 01:17 PM, email@example.com wrote:
> Daniel Berlin <firstname.lastname@example.org> writes:
>> But, given what you say, and that vdelta *was* the biggest time user,
>> one of the following must hold:
>> 1. You are wrong, and we are supposed to be storing everything
>> non-fulltext (deltas against itself)
> Highly unlikely. :-)
>> 2. Subversion is buggy, and it is storing non-fulltext when it
>> shouldn't be
> Also not the case. Do an initial import of something, and use db_dump
> to examine the strings table. On my machine, there is nary a single
> chunk of svndiff data.
>> 3. Subversion is buggy, and it is doing deltas and throwing them away.
> *Ding!* Subversion is using svndiff to *transmit* the text. Those
> packages usually break down to:
I know what they look like *way* too well.
Remember, i did an svndiff version 1?
> <flag that means 'here comes some new data'>
> <here's the whole file as fulltext>
> but the fact remains that we are attempting to svndiff-ify a "delta"
> that is effectively an "add" of the entire file.
But this doesn't jive with the profile.
vdelta is certainly doing compression, it's calling find_match_len,
etc. That's what is taking so much time.
It's coming up with a *real* delta of the file against *something*
(likely an empty string).
Thus, an svndiff that is *not* just the whole file as fulltext with an
"add new data" op is being generated, which is slow and wrong (it
*should* be generating the svndiff you've given above).
Whether it is just throwing it away, or storing it in the repo, i'm not
If it's storing it in the repo, it means something *else* is broken
(whatever thought it should generate a compressed delta here) .
If it's not storing it, and something *is* storing the svndiff you give
above, we need to find what generates the compressed delta for no
reason and make it stop.
> And the repository is unpacking that stuff and storing the original
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Tue Sep 24 19:27:39 2002