On Friday, 7 February 2014 at 04:03:58 UTC, Marco Leise wrote:
Am Mon, 03 Feb 2014 22:01:14 +0000
schrieb "Stanislav Blinov" <stanislav.bli...@gmail.com>:
Return-by-value being optimized as a move might be one more
reason why you would like to use slices...
3 doubles is only one machine word more than an array slice
and there are no indirections, allocations and length
attribute to deal with (which is always 3 here).
I know. I also know that people making games are obsessed with
performance :)
And, where there's 3d vector, there would also be 4d vector and
matrices...