3 ms·
Passing arguments as read-only references does impact the purity of functions from a fundamentalistic view point but, as you experienced first hand, is sometime
by throwawayqqq11 3y ago
Passing arguments as read-only references does impact the purity of functions from a fundamentalistic view point but, as you experienced first hand, is sometimes more or less required for performance.
Looks like your FP zealots didnt learn how to compromise on that point or how to work with constness in general.