templates/index.tmpl
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 24 Sep 2006 13:52:27 +0200
changeset 3153 4fe41a9e4591
parent 2173 d1943df604c4
permissions -rw-r--r--
optimize revlog.lookup when passed hex(node)[:...] Instead of converting each node from the filenode to a hex form, convert the arg to a bin form. For a revlog with 26711 entries, doing 100 lookup: before: ~18s after : ~13s

#header#
<title>Mercurial repositories index</title>
</head>
<body>

<h2>Mercurial Repositories</h2>

<table>
    <tr>
        <td><a href="?sort=#sort_name#">Name</a></td>
        <td><a href="?sort=#sort_description#">Description</a></td>
        <td><a href="?sort=#sort_contact#">Contact</a></td>
        <td><a href="?sort=#sort_lastchange#">Last change</a></td>
        <td>&nbsp;</td>
    <tr>
    #entries%indexentry#
</table>

#footer#