Closed luizbills closed 9 years ago
It's true that I've implemented events without context to gain speed - but then I am using bind which pretty much screws up the whole idea :)
PLAYGROUND.Events is nevertheless for internal usage - I will do a little benchmarking and think of implications. I kinda like bind
and summed up it's probably consuming as much power as displaying a simple bitmap.
Ok, I think you are right. I am reimplementing everything back to .call(context)
:+1:
:+1:
with a context argument you can use
.call
instead of.bind
. Because.bind
create a second function, consuming more memory.