On 10/02/2015 10:30 AM, Nordlöw wrote:
On Friday, 2 October 2015 at 14:08:06 UTC, Jacob Carlborg wrote:
On 2015-10-02 14:15, Per Nordlöw wrote:

So lowering is kind of like macro expansion for AST-nodes, then?

Is DMD clever enough to avoid trigger postblits for

The compiler just rewrites the AST.

So you mean that no postblits are called and we should go with Andreis
first lowering proposal?

My first proposed lowering creates more copies than needed. My second one is therefore probably better, without resorting to compiler magic. -- Andrei

Reply via email to