On Dec 15, 7:29 pm, "flyingb...@gmail.com"
wrote:
> Just wondering what is a better way to code. Using for each loops or
> for loops?
>
> I am wondering will the resulting javascript be different.
It first depends whether you're looping on an array or an Iterable.
With an array, GWT compiles t
If you're using the Eclipse plugin, then select compile button from
the toolbar and you'll find the output option on the compile options
dialog. The resulting output files will show more readable
javascript.
On Dec 15, 6:58 pm, "flyingb...@gmail.com"
wrote:
> Well i just ran test i not sure ho
Well i just ran test i not sure how to compile out differently but it
seems like for each loop is slow.
- For Each Loop ---
Start: 1260903435636
End: 1260903435648
ForEach - Elapsed time in milliseconds: 12
---END---
- Iterator Loop ---
Start: 1260903435648
End:
You could try compiling with the Pretty or Detailed options and
examine the javascript?
On Dec 15, 6:29 pm, "flyingb...@gmail.com"
wrote:
> Just wondering what is a better way to code. Using for each loops or
> for loops?
>
> I am wondering will the resulting javascript be different.
--
You rec
Just wondering what is a better way to code. Using for each loops or
for loops?
I am wondering will the resulting javascript be different.
--
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-too