Browse Source
Instead of counting objects processed, count number of bytes added into the window. This should rescale the progress meter so that 30% complete means 30% of the total uncompressed content size has been inflated and fed into the window. In theory the progress meter should be more accurate about its percentage complete/remaining fraction than with objects. When counting objects small objects move the progress meter more rapidly than large objects, but demand a smaller amount of work than large objects being compressed. Change-Id: Id2848c16a2148b5ca51e0ca1e29c5be97eefeb48stable-3.0
Shawn Pearce
12 years ago
committed by
Gerrit Code Review @ Eclipse.org
3 changed files with 58 additions and 16 deletions
Loading…
Reference in new issue