view mercurial/templates/atom/error.tmpl @ 44802:e0414fcd35e0

rust-filepatterns: match exact `rootglob`s with a `HashSet`, not in the regex This optimization yields some very interesting results in `rootglob`-heavy repositories. I build a test repository of the following structure: ``` root /<uuid>/build/empty_file ... repeat for 4000 entries ``` and a `.hgignore` containing the corresponding 4000 `rootglob` entries pointing to all `build/` folders. Rust+c `hg status` goes from 350ms down to 110ms. Differential Revision: https://phab.mercurial-scm.org/D8491
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 06 May 2020 11:17:27 +0200
parents 4b0fc75f9403
children
line wrap: on
line source

{header}
 <!-- Error -->
 <id>{urlbase}{url|urlescape}</id>
 <link rel="self" href="{urlbase}{url|urlescape}atom-log"/>
 <link rel="alternate" href="{urlbase}{url|urlescape}"/>
 <title>Error</title>
 <updated>1970-01-01T00:00:00+00:00</updated>
 <entry>
  <title>Error</title>
  <id>https://mercurial-scm.org/#error</id>
  <author>
    <name>mercurial</name>
  </author>
  <updated>1970-01-01T00:00:00+00:00</updated>
  <content type="text">{error|escape}</content>
 </entry>
</feed>