Optimizing an algorithm that's quadratic by design
Naming a chord means ranking every plausible name, a step that can’t use an ordinary sort. Why WhatChord’s ranking is quadratic by design, and how we made it an order of magnitude faster without changing the answer a musician sees.
Read full article →