Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             var a:Array = [0x48, 0x65, 0x6C, 0x6C, 0x6F], i:int, q:String;
  2.             const END:int = 20000;
  3.             trace(getTimer());
  4.             while (i++ < END) {
  5.                 q = String.fromCharCode(0x48, 0x65, 0x6C, 0x6C, 0x6F);
  6.             }
  7.             trace(getTimer());
  8.             trace("");
  9.             i = 0;
  10.             trace(getTimer());
  11.             while (i++ < END) {
  12.                 q = String.fromCharCode.apply(null, a);
  13.             }
  14.             trace(getTimer());
  15.             trace("");
  16.             i = 0;
  17.             trace(getTimer());
  18.             while (i++ < END) {
  19.                 q = String.fromCharCode.apply(null, [0x48, 0x65, 0x6C, 0x6C, 0x6F]);
  20.             }
  21.             trace(getTimer());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement