annotate templates/filelogentry-rss.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 a91bfbbe88d3
children f2ebd5251e88
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
599
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
1 <item>
1511
a91bfbbe88d3 hgweb: remove redundant rstrip filter
TK Soh <teekaysoh@yahoo.com>
parents: 1445
diff changeset
2 <title>#desc|strip|firstline|strip|escape#</title>
1410
17703aa4491e hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents: 814
diff changeset
3 <link>#url#?f=#filenode|short#;file=#file#</link>
1445
56281e086f38 hgweb: add strip and rstrip filters to handle summary
TK Soh <teekaysoh@yahoo.com>
parents: 1410
diff changeset
4 <description><![CDATA[#desc|strip|escape|addbreaks#]]></description>
599
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
5 <author>#author|obfuscate#</author>
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
6 <pubDate>#date|rfc822date#</pubDate>>
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
7 </item>