On Saturday, 1 November 2014 at 12:31:15 UTC, Dicebot wrote:
It is not the same thing as ref/out buffer argument. We have been running ping-pong comments about it for a several times now. All std.internal.scopebuffer does is reducing heap allocation count at cost of stack consumption (and switching to raw malloc for heap) - it does not change big-O estimate of heap allocations unless it is used as a buffer argument - at which point it is no better than plain array.

Agreed. Its API also has severe safety problems.

David

Reply via email to