lp://qastaging/~bzr/bzr-groupcompress/rabin
- Get this branch:
- bzr branch lp://qastaging/~bzr/bzr-groupcompress/rabin
Branch merges
Branch information
Recent revisions
- 106. By John A Meinel
-
fix up the failing tests.
The new delta code needs a 16-byte window to match, so to *know* that there will
be a match, you need ~32-bytes in common. (guarantees that 16-bytes somewhere in
that 32-byte range will match.)
Also, when setting 'max_delta', it is possible that we run out of bytes before
we actually find the last match, which would make things compress better.
This is rare in practice, because texts are longer than 40 bytes. But it happens
in testing. - 105. By John A Meinel
-
Change the formatting, replace \t with spaces to be consistent with bzr coding.
- 102. By John A Meinel
-
'bzr pack' _FAST during compress() now is 32s versus 25s.
However, I'm extending _FAST to also stop checking the sha1 sums,
with that change, _FAST is 20s versus 32s.
It is a bit dangerous without the sha1 checking, but it is nice
to see as a 'how fast can we make it', once we are sure about
correctness. - 101. By John A Meinel
-
Remove the temporary adjustment for handling multiple formats of labels.
Update the maximum size source array.
I was hitting 16k sources in a single group, and I didn't want to write the code
that resizes sources and then adjusts the existing index pointers.
That should be done, though. - 100. By John A Meinel
-
Use the max_delta flag.
Prefer to extract and compress bytes rather than chunks/lines.
This has a fairly positive impact on the 'bzr pack' times.
We still do a ''.join([bytes]), but we know that doesn't have
to do any memory copying.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar RepositoryFormatKnitPack6 (bzr 1.9)
- Stacked on:
- lp://qastaging/bzr-groupcompress