Anatomy of high-performance 2D similarity calculations

Anatomy of high-performance 2D similarity calculations