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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -