Mon, 24 Sep 2007 12:41:54 -0500 dirstate: speed up read and write
Matt Mackall <mpm@selenic.com> [Mon, 24 Sep 2007 12:41:54 -0500] rev 5327
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
Mon, 24 Sep 2007 12:36:38 -0500 dirstate: make dir collision logic faster
Matt Mackall <mpm@selenic.com> [Mon, 24 Sep 2007 12:36:38 -0500] rev 5326
dirstate: make dir collision logic faster - shortcircuit decpath if we haven't built the _dirs map - increment only for leafnodes of directory tree (this should make construction more like O(nlog n) than O(n^2))
(0) -3000 -1000 -300 -100 -30 -10 -2 +2 +10 +30 +100 tip