D4666: fastannotate: process files as they arrive

Martin von Zweigbergk martinvonz at google.com
Thu Sep 20 09:13:26 EDT 2018


On Thu, Sep 20, 2018, 04:59 Yuya Nishihara <yuya at tcha.org> wrote:

> Queued, thanks.
>
> > +        for result in results:
> > +            r = result.result()
>
> Should we use a future-aware iterator to pick any finished future without
> waiting for the first unfinished item?
>

That won't matter with the current version of The wire protocol, because
batched response have to be returned in the same order they were requested.
But it's a good idea for wire protocol v2, I think. Greg knows better.

_______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20180920/97e8c1d9/attachment.html>


More information about the Mercurial-devel mailing list