[erlang-questions] How implicit inlining works?

Robert Virding rvirding@REDACTED
Wed Jan 7 20:08:16 CET 2009


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 <vychodil.hynek@REDACTED>

> 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
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090107/fd4dbc9e/attachment.htm>


More information about the erlang-questions mailing list