tests/gpg/secring.gpg
author Durham Goode <durham@fb.com>
Tue, 08 Mar 2016 00:20:08 -0800
changeset 28386 1c658391b22f
parent 8809 6fce36336e42
permissions -rw-r--r--
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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8809
6fce36336e42 gpg: add test
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     1
(binary:application/octet-stream)