Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var a:Array = [0x48, 0x65, 0x6C, 0x6C, 0x6F], i:int, q:String;
- const END:int = 20000;
- trace(getTimer());
- while (i++ < END) {
- q = String.fromCharCode(0x48, 0x65, 0x6C, 0x6C, 0x6F);
- }
- trace(getTimer());
- trace("");
- i = 0;
- trace(getTimer());
- while (i++ < END) {
- q = String.fromCharCode.apply(null, a);
- }
- trace(getTimer());
- trace("");
- i = 0;
- trace(getTimer());
- while (i++ < END) {
- q = String.fromCharCode.apply(null, [0x48, 0x65, 0x6C, 0x6C, 0x6F]);
- }
- trace(getTimer());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement