On May 28, 4:28 pm, Thomas Broyer <[email protected]> wrote:
> Use a StringBuilder, it'll optimize dependending on the browser
> (pushing into an array and then joining the items, or concatenating
> strings, whichever has been benchmarked the fastest by the GWT team)

You're right - I just looked into StringBuilderImpl, and now I'm
convinced, it's really something I should leave to GWT!

I'm still looking for a solution that would remove the need for all
the manual concatenation. I'd like to use either some templating (as
with UiBinder), or some API (as with GWT widgets, or GQuery), but it
would have to give me approximately the same performance...

Then again, the amount of code that creates widgets in this low-level
way is limited to two methods in my code, so I could probably live
with it.

-- 
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