423bef1c42ff06214c3fc6f759e4b7da6a59309f,opt_einsum/paths.py,,optimal,#Any#Any#Any#Any#,8

Before Change


        comb_iter = []
        for x in range(len(input_sets) - iteration):
            for y in range(x + 1, len(input_sets) - iteration):
                comb_iter.append((x, y))

        for curr in full_results:
            cost, positions, remaining = curr
            for con in comb_iter:

After Change


        iter_results = []

        // Compute all unique pairs
        comb_iter = tuple(combinations(range(len(input_sets) - iteration), 2))

        for curr in full_results:
            cost, positions, remaining = curr
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: dgasmith/opt_einsum
Commit Name: 423bef1c42ff06214c3fc6f759e4b7da6a59309f
Time: 2018-02-06
Author: john.gray.14@ucl.ac.uk
File Name: opt_einsum/paths.py
Class Name:
Method Name: optimal


Project Name: gboeing/osmnx
Commit Name: b2be440a78c9da841c3f1bdfa34e5dc0dc1e669c
Time: 2020-11-19
Author: boeing@usc.edu
File Name: osmnx/utils_graph.py
Class Name:
Method Name: _update_edge_keys


Project Name: gboeing/osmnx
Commit Name: d7b2db3c5262c82c44958afc2500efe0838f0884
Time: 2020-12-02
Author: boeing@usc.edu
File Name: osmnx/utils_graph.py
Class Name:
Method Name: _update_edge_keys


Project Name: dgasmith/opt_einsum
Commit Name: a2afaa41a13548806ef624f1530d2ae8912bb818
Time: 2018-02-12
Author: john.gray.14@ucl.ac.uk
File Name: opt_einsum/paths.py
Class Name:
Method Name: greedy