By ref and by pointer kills performance.

jmh530 john.michael.hall at gmail.com
Tue Feb 13 16:11:51 UTC 2024


On Tuesday, 13 February 2024 at 15:56:59 UTC, Bruce Carneal wrote:
> [snip]
>
> There was a little discussion a while back about @restrict 
> being generalized to slices but, as you note, it's not there 
> yet.

Thanks for the detailed response!

> [snip]
>
> As always, godbolt is your friend when optimizing known 
> bottlenecks of this sort.

godbolt is definitely your friend when you can use it.


More information about the Digitalmars-d mailing list