Closed ikabadzhov closed 1 year ago
P.S. could you please open a sibling PR at https://github.com/root-project/opendata-benchmarks ?
Thanks Ivan! LGTM, and I guess you verified the output is identical? 😄
Let me double check. I quickly looked and they seemed identical. But let me read the numbers :D
Procuded histograms are identical (old and new). Hence, merging.
VecOps::Combinations creates a jets.size()x3 matrix. Moreover, this newly created matrix is used only as index, such as jets[c[0][i]]. It makes sense to get rid of this matrix and access the elements directly. In this case, we have contiguous memory access only. Hence, improved performance of the find_triject function.