view contrib/debian/changelog @ 28386:1c658391b22f

parsers: optimize filtered headrevs logic The old native head revs logic would iterate over every node, starting from 0, and check if every node was filtered (by testing it against the filteredrevs python set). On large repos with hundreds of thousands of commits, this could take 150ms. This new logic iterates over the nodes in reverse order, and skips the filtered check if we've seen an unfiltered child of the node. This saves approximately a bagillion filteredrevs set checks, which shaves the time down from 150ms to 20ms during every branch cache write.
author Durham Goode <durham@fb.com>
date Tue, 08 Mar 2016 00:20:08 -0800
parents 7f49efcaa9b4
children a8256e3701be
line wrap: on
line source

mercurial (__VERSION__) unstable; urgency=medium

  * Automated build performed by upstream.

 -- Mercurial Devel <mercurial-devel@selenic.com>  __DATE__