On Thu, May 11, 2017 at 06:41:47PM -0400, Ron Natalie wrote:
If had my way, y = x and passing and returning arrays
by value would work
just like every other C type.
Maybe, just maybe, now that makes sense. But even now that would be a
perf hit unless you added some magical copy on write semantics like
Tcl has so it can have pass by value semantics but pass by reference
performance.
Back then, I think the perf hit would have been so bad everyone would be
passing arrays as a reference anyway.
--
---
Larry McVoy lm at
mcvoy.com http://www.mcvoy.com/lm