Closed DominikPeters closed 9 months ago
One can speed up the computation (by about 10x) of KT distances by using the definition of itertools.combinations which respects the ordering of the iterator it is passed. See https://gist.github.com/DominikPeters/92abecfc7c1ee0396ef7b0d42c3c7685
Great! Thanks.
One can speed up the computation (by about 10x) of KT distances by using the definition of itertools.combinations which respects the ordering of the iterator it is passed. See https://gist.github.com/DominikPeters/92abecfc7c1ee0396ef7b0d42c3c7685