Mon, 23 Jul 2007 20:44:08 -0500 revlog: simplify addrevision
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4981
revlog: simplify addrevision - remove unused defaults for p1, p2, and text - reduce some if/else - use better variable names - remove some extra variables - remove some obsolete corner tests - simply first entry handling for revlogng - simply inline vs outofline writeout
Mon, 23 Jul 2007 20:44:08 -0500 revlog: some codingstyle cleanups
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4980
revlog: some codingstyle cleanups
Mon, 23 Jul 2007 20:44:08 -0500 revlog: add a magic null revision to our index
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4979
revlog: add a magic null revision to our index We expand our index by one entry so that index[nullrev] points to a unique entry, the null revision. This naturally eliminates numerous extra tests in the performance-sensitive index access functions, most of which are now trivial again. Adding new entries is now done with insert(-1, e) rather than append(e).
Mon, 23 Jul 2007 20:44:08 -0500 revlog: change accesses to index entry elements to use positive offsets
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4978
revlog: change accesses to index entry elements to use positive offsets
(0) -3000 -1000 -300 -100 -30 -10 -4 +4 +10 +30 +100 +300 tip