Code review comment for lp:~ian-clatworthy/bzr/faster-diff2

Ian Clatworthy (ian-clatworthy) wrote :

Some more tweaks for speeding up diff. One tweak stops multiple lookups of the dirstate entry in DirStateRevisionTree while grabbing info (e.g. mtime, contents) about a file-id. The other skips an id2path conversion when the path is already known.

On OOo, these take the time down from 2.6 to 1.7 seconds for 'bzr diff' and from 1.5 to 1.0 seconds for 'bzr diff file'.

« Back to merge proposal