On Tue, Dec 8, 2020 at 3:21 PM Daniel Latypov <dlaty...@google.com> wrote:
>
> Don't use an O(nm) algorithm* and make it more readable by using a dict.
>
> *Most obviously, it does a nested for-loop over the entire other config.
> A bit more subtle, it calls .entries(), which constructs a set from the
> list for _every_ outer iteration.
>
> Signed-off-by: Daniel Latypov <dlaty...@google.com>

Tested-by: Brendan Higgins <brendanhigg...@google.com>
Acked-by: Brendan Higgins <brendanhigg...@google.com>

Reply via email to