Impact of native compilation

Thierry Mallard <>
Sat Sep 7 09:12:58 CEST 2002

Quoting Pascal Brisset <>:

>  > We were wondering why the result was different. Is there many more
> operations implied by Erlang ?  
> More important is that there are much less operations than you
> think in the C version: "g++ -O3" optimizes the unused code out.
> [ ...assembly code...]

Gosh.. silly me, I should have wondered.

Making a real float var that changes 100 millions time does indeed change
the taken time. ( from .16 seconds to 2.26 seconds at home )

Thanks for the review !

With kind regards,

Thierry Mallard

More information about the erlang-questions mailing list