On 13/02/2017 18:06, Bryan O'Sullivan wrote:
On Mon, Feb 13, 2017 at 9:29 AM, Simon Farnsworth <simon...@fb.com <mailto:simon...@fb.com>> wrote: + duration = (util.timer() - starttime) * 1000 + key += '_blocked' + self._blockedtimes[key] += duration Could be a one-liner, which will have a tiny but positive impact on perf: self._blockedtimes[key + '_blocked'] += (util.timer() - starttime) * 1000
Will change for the next resend. -- Simon Farnsworth _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel