~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/delta.h

  • Committer: John Arbash Meinel
  • Date: 2009-03-19 06:01:53 UTC
  • mto: (3735.2.157 brisbane-core)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: john@arbash-meinel.com-20090319060153-p0e7qedqdq9vd8iq
Now we are able to weave 'add_source' into the existing index.
This brings 'bzr pack' time down to ~23.6s (with debugging on).
According to lsprof time for 'add_delta_source' overall dropped from ~5s down to
about 300ms, and now the time for 'add_source' dropped 5s->3.3s->1.6s.
Next thing is to probably bump the number of free slots.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 */
33
33
extern struct delta_index *
34
34
create_delta_index(const struct source_info *src,
35
 
                   const struct delta_index *old);
 
35
                   struct delta_index *old);
36
36
 
37
37
 
38
38
/*