On 10/3/17 10:00 PM, Walter Bright wrote:
On 10/3/2017 5:24 PM, Steven Schveighoffer wrote:It also can be cheaper to pass a small struct by value.Should not be a problem if the compiler inlines it.
That's not always possible. -Steve
Steven Schveighoffer via Digitalmars-d Thu, 05 Oct 2017 06:16:22 -0700
On 10/3/17 10:00 PM, Walter Bright wrote:
On 10/3/2017 5:24 PM, Steven Schveighoffer wrote:It also can be cheaper to pass a small struct by value.Should not be a problem if the compiler inlines it.
That's not always possible. -Steve