其实as3这个坑我早就踩过,不过那时没太注意,最近把项目的removeChild干掉换成了visible=false,发现效率质的提升…… 先贴一下代码吧 private function testRemoveChild():void { var startTime:int = getTimer(); var count:int = 9999; for (var i:int = 0; i < count; i++) { var sp:Sprite = new Sprite(); addChild…