On Friday, 13 October 2017 at 13:22:42 UTC, Adam D. Ruppe wrote: > * Use a @property ref function to return the array element and > trust the compiler to inline it. You could also use pragma(inline, true).