[erlang-questions] How implicit inlining works?

Hynek Vychodil <>
Sun Jan 4 22:09:23 CET 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090104/53671feb/attachment.html>


More information about the erlang-questions mailing list