Flash is just too damn slow!

So I’ve been working on a game for a while now, just to realize now that flash is too ■■■■ slow to handle it. Wtf…

It relies heavily on particle emitters. I have an array of about 20 objects at any point in time on screen. And another with around 5-600. I’m using BitmapData.hitTest on each of the 20 against each of the 5-600 every frame. If it’s only a few hundred it’s fine, but upwards it just slows down. A lot. There has to be a way to optimize this. I don’t understand how flash can handle something like away3D or all of the great 2d physics engines out there just fine, but not this…

Anyone have any ideas? I tried distance^2 tests based on radius (less accurate) but it was still slow as balls.

Flash can’t seriously be that limited. That’s like prehistoric times