annotate templates/changeset-raw.tmpl @ 1534:80a3d6a0af71

Optimize manifest.add Testing shows that manifest.add is spending a significant percentage of its time running calcoffsets and doing text = "".join(addlist). This patch removes the need for both of these by storying the manifest in a character array, and using a modified bisect search to find lines without the help of a separate index of line offsets. manifest.add was also reworked to push delta construction/combination into the main loop. Time to apply 2751 patches (without psyco, ext3 noatime,data=writeback): Stock hg: 4m45s real 3m32s user 55s sys patched: 2m48s real 1m53s user 43s sys quilt: 2m30s real 45s user 50s sys (quilt does much more io...)
author mason@suse.com
date Fri, 11 Nov 2005 18:20:22 -0800
parents 19d2776f1725
children e30f425a4b2c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
201
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
1 #header#
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
2 # HG changeset patch
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
3 # User #author#
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
4 # Date #date|date#
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
5 # Node ID #node#
1416
19d2776f1725 hgweb: hide trivial parent (like in show_changeset)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 570
diff changeset
6 #parent%changesetparent#
201
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
7 #desc#
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
8
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
9 #diff#