[PATCH 1 of 2 RFC] completion: add a debugpathcomplete command

Bryan O'Sullivan bos at serpentine.com
Thu Mar 14 10:52:45 CDT 2013


On Wed, Mar 13, 2013 at 6:53 PM, Kevin Bullock <
kbullock+mercurial at ringworld.org> wrote:

>
> dirstate has __getitem__, __iter__, and __contains__ implementations that
> should prevent you needing to frob its _map directly here. It'll even do
> the sorting.


I actually don't want the traversal to be sorted in an additional step,
because then I'm sorting 200,000 items instead of the handful that actually
match. As we know from painful experience, such a sort adds 0.2 seconds to
the execution time for no benefit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130314/7b394c80/attachment.html>


More information about the Mercurial-devel mailing list