Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-encode.out @ 5327:f46ab9cacd3c
dirstate: speed up read and write
read:
- single call to len(st)
- fewer assignments for position tracking
- don't split apart tuple from unpack
- use a literal for the unpack spec
write:
- localize variables and functions
- avoid copied function call
- use % for string concatenation
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 24 Sep 2007 12:41:54 -0500 |
parents | b2ae81a7df29 |
children |
rev | line source |
---|---|
1258 | 1 %% no changes |
2 %% no changes | |
3 %% uncompressed contents in repo | |
4 this is a test | |
5 %% uncompress our working dir copy | |
6 this is a test | |
2175
b2ae81a7df29
Make hg update more verbose by default (issue12)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1258
diff
changeset
|
7 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1258 | 8 %% uncompress our new working dir copy |
9 this is a test |