java - GWT: Does to much use of the $entry Function slows Application down? -
I use the $ entry function from GWT in my JSNI function. I use them in most of two cases:
-
When I create a new object in JSNi
create public static basic KGroup () / * - {var create = $ entry (function () {new $ wnd return.Kinetic.Group ();}); Make a comeback; } - * /;
-
Whenever I make an event handler somewhere
create a public static original last KenodeEventCollbacks (KenodeEventCollbackbackback)) / * - {var t = $ Entry (function) {callback com.test.KNodeEventCallback :: onEvent (....) (Event);}); Return T; } - * /;
Does this slow down my application? Because anytime I use this GWT will add an attempt to hold the javascript function in the block.
Is there a rule of thumb when using $ entry and not?
Comments
Post a Comment