d6fe384f6763c09da358e70375db034ec0e442f8,pynndescent/utils.py,,sparse_initalize_heap_from_graph_indices,#Any#Any#Any#Any#Any#Any#,776

Before Change


            ind2 = data_indices[data_indptr[j] : data_indptr[j + 1]]
            data2 = data_vals[data_indptr[j] : data_indptr[j + 1]]
            d = metric(ind1, data1, ind2, data2)
            unchecked_heap_push(heap, i, d, j, 1)

    return heap

After Change


            data2 = data_vals[data_indptr[j] : data_indptr[j + 1]]
            d = metric(ind1, data1, ind2, data2)
            // unchecked_heap_push(heap, i, d, j, 1)
            flagged_heap_push(heap[0][i], heap[1][i], heap[2][i], j, d, 1)

    return heap

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: lmcinnes/pynndescent
Commit Name: d6fe384f6763c09da358e70375db034ec0e442f8
Time: 2020-08-27
Author: leland.mcinnes@gmail.com
File Name: pynndescent/utils.py
Class Name:
Method Name: sparse_initalize_heap_from_graph_indices


Project Name: lmcinnes/pynndescent
Commit Name: d6fe384f6763c09da358e70375db034ec0e442f8
Time: 2020-08-27
Author: leland.mcinnes@gmail.com
File Name: pynndescent/utils.py
Class Name:
Method Name: initalize_heap_from_graph_indices


Project Name: lmcinnes/pynndescent
Commit Name: d6fe384f6763c09da358e70375db034ec0e442f8
Time: 2020-08-27
Author: leland.mcinnes@gmail.com
File Name: pynndescent/pynndescent_.py
Class Name:
Method Name: init_from_neighbor_graph


Project Name: lmcinnes/pynndescent
Commit Name: d6fe384f6763c09da358e70375db034ec0e442f8
Time: 2020-08-27
Author: leland.mcinnes@gmail.com
File Name: pynndescent/utils.py
Class Name:
Method Name: sparse_initalize_heap_from_graph_indices