~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/dirstate.py

  • Committer: Frank Aspell
  • Date: 2009-02-22 16:54:02 UTC
  • mto: This revision was merged to the branch mainline in revision 4256.
  • Revision ID: frankaspell@googlemail.com-20090222165402-2myrucnu7er5w4ha
Fixing various typos

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
the file on disk, and then immediately discard, the overhead of object creation
187
187
becomes a significant cost.
188
188
 
189
 
Figures: Creating a tuple from from 3 elements was profiled at 0.0625
 
189
Figures: Creating a tuple from 3 elements was profiled at 0.0625
190
190
microseconds, whereas creating a object which is subclassed from tuple was
191
191
0.500 microseconds, and creating an object with 3 elements and slots was 3
192
192
microseconds long. 0.1 milliseconds is 100 microseconds, and ideally we'll get
1970
1970
 
1971
1971
    @staticmethod
1972
1972
    def on_file(path):
1973
 
        """Construct a DirState on the file at path path.
 
1973
        """Construct a DirState on the file at path "path".
1974
1974
 
1975
1975
        :return: An unlocked DirState object, associated with the given path.
1976
1976
        """