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:

  1. 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; } - * /;  
  2. 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

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -