view mercurial/cffi/__init__.py @ 38156:5b592ac502ef

repoview: use 'phasecache.getrevset' when computing 'unserved' filter This reuses a precomputed set, being much faster than manual iteration. Computing the "unserved" filter speed up by 55%. before: wall 0.014671 comb 0.020000 user 0.020000 sys 0.000000 (best of 180) after: wall 0.006623 comb 0.010000 user 0.010000 sys 0.000000 (best of 401) The "unserved" filter is used to restrict the revisions client can pull from a server. (eg: secret changesets)
author Boris Feld <boris.feld@octobus.net>
date Mon, 21 May 2018 17:33:50 +0200
parents 9cc438bf7d9a
children
line wrap: on
line source