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

Anthony Ramine <>
Mon Dec 3 11:28:57 CET 2012


I've removed the second commit of this branch because I'm not happy with it and because it makes the mnesia test suites fail. Enabling propagatation of local function names should be another patch on its own, let's not put that in this branch.

Please refetch.

-- 
Anthony Ramine

Le 30 nov. 2012 à 10:29, Henrik Nord a écrit :

> in master-pu
> On 11/10/2012 04:35 PM, Anthony Ramine wrote:
>> 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
>> 
>> Regards,
>> 
> 
> -- 
> /Henrik Nord Erlang/OTP
> 
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches



More information about the erlang-patches mailing list