72b3dcf5a5063cb5f31ed766f6174bf146de498c,opt_einsum.py,,_path_opportunistic,#Any#Any#Any#Any#,128

Before Change


    path = []
    for iteration in range(len(input_sets) - 1):
        iteration_results = []
        comb_iter = zip(*np.triu_indices(len(input_sets), 1))
        for positions in comb_iter:

            contract = _find_contraction(positions, input_sets, output_set)
            idx_result, new_input_sets, idx_removed, idx_contract = contract

After Change


    for iteration in range(len(input_sets) - 1):
        iteration_results = []
        comb_iter = []
        for x in range(len(input_sets)):
            for y in range(x + 1, len(input_sets)):
                comb_iter.append((x,y))
        for positions in comb_iter:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dgasmith/opt_einsum
Commit Name: 72b3dcf5a5063cb5f31ed766f6174bf146de498c
Time: 2015-01-22
Author: malorian@me.com
File Name: opt_einsum.py
Class Name:
Method Name: _path_opportunistic


Project Name: dgasmith/opt_einsum
Commit Name: 72b3dcf5a5063cb5f31ed766f6174bf146de498c
Time: 2015-01-22
Author: malorian@me.com
File Name: opt_einsum.py
Class Name:
Method Name: _path_optimal


Project Name: biocore/scikit-bio
Commit Name: 2fd6103e26a751b6b7b16c1cadbce01c3e418d26
Time: 2014-02-21
Author: jai.rideout@gmail.com
File Name: bipy/maths/stats/distance/anosim.py
Class Name: ANOSIM
Method Name: _anosim