That's great news Scott, except, the contrary is stated in the article. I suppose this is why I am confused. Presumably, If that's the case, why isn't StringBuilder based on the prefixing string technique?
I hope Chambers posts another article that goes into detail as to why one is quicker than the other, and why StringBuilder uses the standard concatenation if this is the case. H On 12/8/05, Scott Hyndman <[EMAIL PROTECTED]> wrote: > > I only meant that string concats were faster than using a > StringBuilder.append()...which is kind of cool I think. > > Scott > > -----Original Message----- > From: [EMAIL PROTECTED] on behalf of elibol > Sent: Thu 12/8/2005 1:11 PM > To: Flashcoders mailing list > Cc: > Subject: Re: [Flashcoders] fyi : AS3 Info on > String/StringBuilderinFlashPlayer 8.5 > > Hi Scott, > > I read the article, however I don't see any statements regarding the > stringbuilder being slower than prefix string support. Forgive me if I'm > wrong, but it seems that prefix string support serves for concatenation of > strings ( a+=b; ) and StringBuilder would be a class that handles various > string operations, so this doesn't necessarily mean that for one to be in > order, the other would have to be left out. What I think it means is that > both string prefixes and the StringBuilder class will significantly > increase > string operations in general. > > Correct me if I'm wrong friends, > > H > > On 12/7/05, JesterXL <[EMAIL PROTECTED]> wrote: > > > > I did, that response is to my question about what was faster, string += > or > > StringBuilder since my tests a month ago yeiled no difference, and as > you > > know it's challenging to do memory tests in Flash. > > > > ----- Original Message ----- > > From: "Scott Hyndman" <[EMAIL PROTECTED]> > > To: "Flashcoders mailing list" <[email protected]> > > Sent: Wednesday, December 07, 2005 2:57 PM > > Subject: RE: [Flashcoders] fyi : AS3 Info on String > > /StringBuilderinFlashPlayer 8.5 > > > > > > Of course. The same goes for every language, except for Flash it seems. > > > > You should probably read the article. > > > > Scott > > > > -----Original Message----- > > From: [EMAIL PROTECTED] on behalf of JesterXL > > Sent: Wed 12/7/2005 2:42 PM > > To: Flashcoders mailing list > > Cc: > > Subject: Re: [Flashcoders] fyi : AS3 Info on String / > > StringBuilderinFlashPlayer 8.5 > > > > All I know is, in .NET, if you are concatenating a lot of strings, if > you > > use .NET's StringBuilder class instead, it'll greatly improve resource > > usage, so I expect the same will hold true in Flash Player 8.5. > > > > ----- Original Message ----- > > From: "Scott Hyndman" <[EMAIL PROTECTED]> > > To: "Flashcoders mailing list" <[email protected]> > > Sent: Wednesday, December 07, 2005 2:34 PM > > Subject: RE: [Flashcoders] fyi : AS3 Info on String / StringBuilder > > inFlashPlayer 8.5 > > > > > > Very cool Mike. I've never heard of this capability in any language (by > > which I mean string prefix support). Can anyone support this? > > > > Scott > > > > -----Original Message----- > > From: [EMAIL PROTECTED] on behalf of Mike > Chambers > > Sent: Wed 12/7/2005 12:31 PM > > To: Flashcoders mailing list > > Cc: > > Subject: [Flashcoders] fyi : AS3 Info on String / StringBuilder in > > FlashPlayer 8.5 > > > > fyi > > > > > > > http://labs.macromedia.com/wiki/index.php/ActionScript_3:articles:string_stringbuilder > > > > mike chambers > > > > [EMAIL PROTECTED] > > > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------------- > > > > > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------------- > > > > > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

