Closed bobye closed 9 years ago
The following two parts should take similar time, but don't actually. The second is pretty slow. Is it the overhead of calling functions? I may reimplement this part sometime.
https://github.com/bobye/d2_clustering/blob/master/src/d2_centroid_Bregman.c#L98-100 https://github.com/bobye/d2_clustering/blob/master/src/d2_centroid_Bregman.c#L111-115
Forget about this. A re-implementation does not improve any ...
The following two parts should take similar time, but don't actually. The second is pretty slow. Is it the overhead of calling functions? I may reimplement this part sometime.
https://github.com/bobye/d2_clustering/blob/master/src/d2_centroid_Bregman.c#L98-100 https://github.com/bobye/d2_clustering/blob/master/src/d2_centroid_Bregman.c#L111-115