[erlang-questions] Why so slow kmeans implementation

Andrea Peruffo andrea.peruffo1982@REDACTED
Tue Feb 24 09:40:26 CET 2015

is a benchmark of different languages on a kmeans clustering algo.

I made an implementation of it but is terribly slow...

A question is about the data structure "dict" I used, is that the proper
use case or there is anything better?
I have checked with "ets" but looks even slower...

Is there anything wrong with the provided implementation?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150224/f7bc0805/attachment.htm>

More information about the erlang-questions mailing list