I seem to remember from a previous discussion about optimizing a ray-tracer that DMD will not inline functions that take reference parameters. Can anyone else confirm this? --bb