ActionScript3.0ã«ãªã£ã¦ãããã¾ã§æ°å¤ã¯å ¨ã¦Numberåã§ãããããã¦ãããã®ããintåã¨uintåã§åæå®ã§ããããã«ãªã£ãããã®ãint/uintåã®å©ç¹ã¨ãã¦ããè¨ããããã¨ã®ä¸ã¤ã¨ãã¦é«éåãããã ãããã«ããããã³ã¼ããæ¸ãã¦å®é¨ãã¦ã¿ãã¨ç¢ºãã«éãã var t:Number = getTimer(); var cnt:Number; for(var i:Number=0;i<1000000;i++){ cnt++; } var temp:Number = (getTimer()-t); çµæï¼20 ms var t:Number = getTimer(); var cnt:int; for(var i:int=0;i<1000000;i++){ cnt++; } var temp:Number = (getTimer()-t); çµæï¼8 ms ã¨ãããã§
{{#tags}}- {{label}}
{{/tags}}