Is there a performance benefit in switching from func.apply(obj, params)
to func.call(obj)
when params
is an empty array or null
?
I mean, is calling func.call(obj)
any faster than calling func.apply(obj, null)
?
I'm mostly interested in performance under NodeJS 4.x.
This is for an algorithm that has to make a lot of such calls.