Optimization of proposed lambda expression for upcoming DIP

2017-11-09 Thread Michael V. Franklin via D.gnu
I'm currently testing the optimization for the proposed lowering in this upcoming DIP: https://github.com/dlang/DIPs/pull/97 Tested at https://explore.dgnu.org/ (love this tool, by the way) 64-bit (PC) gdc 7 with -O3 -frelease /** Lowering expression to lambda */ import co

Re: Optimization of proposed lambda expression for upcoming DIP

2017-11-09 Thread David Nadlinger via D.gnu
On Friday, 10 November 2017 at 02:26:46 UTC, Michael V. Franklin wrote: `_Dmain` is equivalent, as I expected, but what's going on with `main`? Anything to be concerned about? I think these are just the getter and setter implementation bodies. (Note that main ends with an unconditional jmp to