Linear algebra performance issue

Thanks. I confirm your answer. No allocation.