[erlang-patches] Optimize handling of local fun variables in v3_kernel

Anthony Ramine n.oxyde@REDACTED
Thu Nov 15 17:29:01 CET 2012


Hi,

I've added a commit to the branch (6eebc6c), it allows
the compiler to substitute local functions' names now that
v3_kernel doesn't create a lambda for every one of them it
encounters.

This optimizes a lot my implementation of EEP37.

Regards,

Le 10 nov. 2012 à 16:35, Anthony Ramine a écrit :

> Hi,
> 
> This branch removes the so-called "reverse etha-conversion" from v3_kernel and
> replaces it by a proper call to the make_fun internal BIF without the need of a
> redundant lambda function every time the local fun variable is referenced.
> 
> There may be some test suites related to this in lib/compiler/test/
> but I couldn't
> find one; feel free to point me to them if any.
> 
>    https://github.com/nox/otp/compare/rm-reverse-eta-conversion
>    https://github.com/nox/otp/compare/rm-reverse-eta-conversion.patch
> 
>    git fetch https://github.com/nox/otp/ rm-reverse-eta-conversion

-- 
Anthony Ramine




More information about the erlang-patches mailing list