text speeds are good

Colin Holgate coiin at rcn.com
Sun Mar 16 15:50:35 EDT 2008

You'll be pleased to hear that I thought of a way of making the AS3  
version be a fairer test against what Rev is doing. I changed this  
line like here:

    //t += "aaaaaaaaaaaaaaaaaaaaaab";
    t = t.concat("aaaaaaaaaaaaaaaaaaaaaab");

Clearly t+= is a very fast way of concatenating strings, but making  
AS3 work using the normal string concatenation routines changes the  
timing from 63 mS down to 305 mS, making it a little slower than Rev.

More information about the Use-livecode mailing list