I'm curious about this, could you compile in pretty or detailed and show us this duplicate functions ?
Thanks, Salvador On May 5, 9:50 am, Elias Martenson <loke...@gmail.com> wrote: > When looking at the generated Javascript code in obfuscated mode, I > can see a lot of functions that, after obfuscation, has become > identical to eachother. For example, here is a real example from my > application: > > function yLc(a,b,g,f,e,c,d){return 0} > function zLc(a,b,g,f,e,c,d){return 0} > function kMc(a,b,g,f,e,c,d){return 0} > function lMc(a,b,g,f,e,c,d){return 0} > > Obviously, before obfuscation these functions are distinctly different > entities, probably coming from wildely different parts of the code > base. However, after obfuscation, these functions are identical and > they can safely be replaced by a single function. > > My question is: are there any plans to do this? Perhaps in 1.7? > > My second issue is with the large number of functions that do nothing > except for calling another function. Here's another example from my > application: > > function p3b(b,a){z3b(b,a)} > function q3b(b,a){A3b(b,a)} > function D3b(b,a){p4b(b,a)} > function E3b(b,a){q4b(b,a)} > > Is there a technical reason why these are not inlined? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---