> Nice idea, thanks! Thanks. Is it better to make it runtime toggleable by using a flag ?
> Formatting nit: Please ensure that '#' is always on the first line, > so: > > #ifndef USE_SQUARED_DISTANCES > # define USE_SQUARED_DISTANCES 0 > #endif Fixed. Thanks, Anuj