I've read here about the difference between functions and methods in scala. It says that methods can be slightly faster than functions. But when passing a method m
as an argument using m _
, m is implicitly converted to a function.
- Is the performance difference significant enough to ponder avoiding Functions when it is going to be a bottleneck in my program?
- Is there a way to pass a method as an argument without converting it to a Function?