[PATCH 2 of 2] reachableroots: unroll loop that checks if one of parents is reachable

Augie Fackler raf at durin42.com
Mon Aug 24 08:40:04 CDT 2015


On Sat, Aug 22, 2015 at 03:25:24PM -0700, Sean Farley wrote:
>
> Yuya Nishihara <yuya at tcha.org> writes:
>
> > # HG changeset patch
> > # User Yuya Nishihara <yuya at tcha.org>
> > # Date 1439685037 -32400
> > #      Sun Aug 16 09:30:37 2015 +0900
> > # Node ID 7737721288cbade4ab725ac87d8a57d2a99fa649
> > # Parent  32fd293a3f4709841d1e555b9fe3040c086281a3
> > reachableroots: unroll loop that checks if one of parents is reachable
> >
> > The difference is small, but fewer loops should be better in general:
> >
> >   revset #0: 0::tip
> >   0) 0.001609
> >   1) 0.001510  93%
>
> Series looks good to me.

Agreed, queued. Thanks!

> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list