-
A column walk through a 7 MB matrix: 7% off the Wasserstein tests, bit for bit
Sinkhorn took the same logarithm 865,000 times and walked its cost matrix by columns. Fixing both halved that step, bit for bit.
-
Same answer, 38% faster: Sinkhorn in plain JavaScript, four rows at a time
The Wasserstein distance tool spent most of its time in two matrix-vector products. Reading the kernel four rows at a time cut 38% without changing a bit.
-
Central Park's July nights warmed by 0.79 °C at every quantile; its days did not move
A free earth mover's distance tool compares two groups in your units. On NOAA's Central Park data, July nights moved up at every quantile and days did not.