On 26 oct, 10:41, muhannad nasser <[email protected]> wrote:
> what is the best way to handle strings....
>
> in java we can use stringBuffer or StringBuilder..... but they are converted
> to Javascript......
>
> so is there any way to handle strings in gwt.... and keep the performance in
> javascript.....

StringBuilder and StringBuffer in GWT will do their best to
concatenate strings with highest performances depending on the browser
(some are faster doing String concats while in others you'd rather
push to an array and use a join() in the end).

And generally, string concatenations isn't your performance
bottleneck, compared to DOM manipulation and the like.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to