-
Committer:
John Arbash Meinel
-
Date:
2008-08-28 21:27:48 UTC
-
mto:
This revision was merged to the branch mainline in
revision
3665.
-
Revision ID:
john@arbash-meinel.com-20080828212748-fplqyspastui6wq8
Don't downsize the data buffer while reading.
Instead just use offsets into the data buffer.
It turns out that the string copying was massively dominating performance.
With this and the earlier patch, it drops the time for
bzr branch bzr+ssh://localhost/bzr.dev
from 1m26s down to 39.3s.
And 32s is the local transport time.