[erlang-questions] generators/iterators

Mike McNally m5@REDACTED
Mon Jun 18 11:55:53 CEST 2007


> UUUggh - I think not. funs are lambda lifted into regular
> "module-member" functions so there should be no difference.

OK - I was referring to section 3 of the "Efficiency Guide" on the OTP
documentation site, which begins with a table showing the relative cost
of invoking functions in different ways. That table claims that a "Fun
call" is almost 3 times as expensive as a local or external call to a
compile-time-resolved function.

http://www.erlang.org/doc/efficiency_guide/functions.html#3


--
[ I love pre-moistened towelettes ] Mike McNally -- m5@REDACTED



More information about the erlang-questions mailing list