Compiler
–optimize=true
public function shuffle_by_splice(arr:Array):Array { var brr:Array; brr = new Array(); while (arr.length>0) { brr.push(arr.splice(Math.floor(Math.random()*arr.length),1)[0]); } return brr; }
private var myString:String = ( <![CDATA[ Here is my string that spans multiple lines. ]]> ).toString();
<mx:String id="myString"> <![CDATA[ Here is my string that spans multiple lines. ]]> </mx:String>
Left bit shifting « multiplicando potência de 2 300% faster! xDD
x = x * 2; x = x * 64;
x = x << 1; x = x << 6;
Right bit shifting » dividindo potência de 2 350% faster
x = x / 2; x = x / 64;
x = x >> 1; x = x >> 6;