On 11/21/12 1:20 PM, John Colvin wrote:
On Wednesday, 21 November 2012 at 18:15:51 UTC, Walter Bright wrote:
On 11/21/2012 10:02 AM, John Colvin wrote:
My vision of how things could work:
c = a[] opBinary b[];
should be legal. It should create a new array that is then reference
assigned to c.

This is not done because it puts excessive pressure on the garbage
collector. Array ops do not allocate memory by design.

Fair enough. When you say excessive pressure, is that performance
pressure or design pressure?

Performance pressure - the design here is rather easy if efficiency is not a concern.

Andrei

Reply via email to