Hi Gordon,
If the callback is unchanged, there the difference in performance between .call/.apply and directly calling (). In this case the callback is still being sent in both versions and it is also being executed succesfully.
I will try to create a small example that reproduces the problem. Thank you for your patience, I guess I was hoping you had some sort of hardware profiling/debugging tool that could explain why the method of calling a function makes such a difference.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi Gordon,
If the callback is unchanged, there the difference in performance between .call/.apply and directly calling (). In this case the callback is still being sent in both versions and it is also being executed succesfully.
I will try to create a small example that reproduces the problem. Thank you for your patience, I guess I was hoping you had some sort of hardware profiling/debugging tool that could explain why the method of calling a function makes such a difference.