Skip to content

Pass arguments by reference rather than by value in VecCore math and interface functions

Guilherme Amadio requested to merge veccore-args-by-reference into master

This avoids the GCC note about ABI change, since the stack may not be properly aligned to pass arguments by value, and increases the potential for performance improvements, as temporary values might be compiled away.

The only exception is SinCos(), which takes pointer arguments, so it's left alone.

Merge request reports