d6fe384f6763c09da358e70375db034ec0e442f8,pynndescent/sparse_nndescent.py,,init_rp_tree,#Any#Any#Any#Any#Any#Any#,267
Before Change
continue
heap_push(current_graph, p, d, q, 1)
heap_push(current_graph, q, d, p, 1)
@numba.njit(fastmath=True)
def init_random(n_neighbors, inds, indptr, data, heap, dist, rng_state):
After Change
// heap_push(current_graph, p, d, q, 1)
// heap_push(current_graph, q, d, p, 1)
checked_flagged_heap_push(
current_graph[1][p],
current_graph[0][p],
current_graph[2][p],
d,
q,
np.uint8(1),
)
checked_flagged_heap_push(
current_graph[1][q],
current_graph[0][q],
current_graph[2][q],
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: lmcinnes/pynndescent
Commit Name: d6fe384f6763c09da358e70375db034ec0e442f8
Time: 2020-08-27
Author: leland.mcinnes@gmail.com
File Name: pynndescent/sparse_nndescent.py
Class Name:
Method Name: init_rp_tree
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_rp_tree
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_random
Project Name: lmcinnes/pynndescent
Commit Name: d6fe384f6763c09da358e70375db034ec0e442f8
Time: 2020-08-27
Author: leland.mcinnes@gmail.com
File Name: pynndescent/sparse_nndescent.py
Class Name:
Method Name: init_random