[flexcoders] Fast String concatenation

2008-07-11 Thread polestar11
Hi there I wanted to check if there are any tricks one can do to improve the speed on concatenating strings. I know in Java there is a StringBuilder class which is faster than the '+' operator. I havent seen an equivallent for Actionscript, so is var mystring:String = 'string1' + 'string2' the

Re: [flexcoders] Fast String concatenation

2008-07-11 Thread Simon Bailey
Try the much faster appendText() method :) Cheers, Simon On 11 Jul 2008, at 13:53, polestar11 wrote: Hi there I wanted to check if there are any tricks one can do to improve the speed on concatenating strings. I know in Java there is a StringBuilder class which is faster than the '+'

RE: [flexcoders] Fast String concatenation

2008-07-11 Thread Alex Harui
For building up strings out of little pieces, we use fromCharCode From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of polestar11 Sent: Friday, July 11, 2008 5:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Fast String