[erlang-questions] How implicit inlining works?

1 view
Skip to first unread message

Hynek Vychodil

unread,
Jan 4, 2009, 4:09:23 PM1/4/09
to erlang-questions
Hello everybody,
I want ask how in-lining works. In documentation http://www.erlang.org/doc/man/compile.html I can read how to switch on implicit inlining
%% Aggressive inlining - will increase code size.
-compile(inline).
-compile({inline_size,100}).
but I never have seen it works. When I want inline something I must specify it explicitly using

-compile({inline, [{fun, arity}]}).

Is it bug or I do something wrong?

Best regards.

--
--Hynek (Pichi) Vychodil

Analyze your data in minutes. Share your insights instantly. Thrill your boss.  Be a data hero!
Try Good Data now for free: www.gooddata.com

Robert Virding

unread,
Jan 7, 2009, 2:08:16 PM1/7/09
to Hynek Vychodil, erlang-questions
How do you mean that you have never seen it work? You shouldn't see anything, the code should behave as before.

Robert

2009/1/4 Hynek Vychodil <vychodi...@gmail.com>
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions

Reply all
Reply to author
Forward
0 new messages