Ian and I have a basic outline of how to improve this.
At the moment, 'log DIR' is implemented by iterating over all files in every revision, and checking to see if it was modified.
Instead, we should look at the list of changes (which can now be computed quite quickly), and see if any of those are underneath $DIR.
Ian and I have a basic outline of how to improve this.
At the moment, 'log DIR' is implemented by iterating over all files in every revision, and checking to see if it was modified.
Instead, we should look at the list of changes (which can now be computed quite quickly), and see if any of those are underneath $DIR.