Why does this Erlang code take about one minute on my machine?On Pascal something like this took less then second on my machine.What I can do to speed it up?-module(slow).-export([slow/0]).pyth(N) ->    [{A, B, C} ||        A <- lists:seq(1, N - 2),        B <- lists:seq(A + 1, N - 1),        C <- lists:seq(B + 1, N),        A + B + C =< N,        A * A + B * B == C * C].slow() -> io:format(~p\n, [pyth(1000)]).
Slow Erlang code to find Pythagorean triplets
performance;erlang
Erlang runs on a VM, so you will get better performance on such a pure arithmetic computation by compiling it into native code using HIPE.From the command line:erlc +native slow.erlOr from the Erlang shell:1> hipe:c(slow).Or:1> c(slow, [native]).