apache/spark — pull request #3643 by viirya (2014-12-09 10:24:31+00:00)
Title: Replace breezeSquaredDistance

This PR replaces slow breezeSquaredDistance. A simple calculation involving 40000 vectors of 20000 dims shows:

* breezeSquaredDistance: ~12 secs
* This PR: ~10.5 secs