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

Robert Virding robert.virding@REDACTED
Fri Nov 16 01:44:23 CET 2012


There seems to be an awful lot in this patch which has nothing to do with what the patch is about, most of it in fact. Is there a rebase missing or something here?

Robert

----- Original Message -----
> From: "Anthony Ramine" <n.oxyde@REDACTED>
> To: "erlang-patches" <erlang-patches@REDACTED>
> Sent: Thursday, 15 November, 2012 5:29:01 PM
> Subject: Re: [erlang-patches] Optimize handling of local fun variables in	v3_kernel
> 
> 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
> 
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
> 



More information about the erlang-patches mailing list