comparison mercurial/exewrapper.c @ 45340:cdc50e1929b0

mergeresult: yield from getactions() instead of buidling a list and returning Only 7 out of 29 callers change the underlying dict while iterating. So it's better to yield and wrap the 7 callers with `list()`. Differential Revision: https://phab.mercurial-scm.org/D8882
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 03 Aug 2020 18:08:37 +0530
parents ef7119cd4965
children 825d5a5907b4
comparison
equal deleted inserted replaced
45339:9320f66854f6 45340:cdc50e1929b0