I meant the demo wasn't something targeted for mobile devices. The library itself should be as usable for mobile devices as anything else in Flash...which is to say not very at this point, in my opinion. The next generation of mobile processors, combined with Adobe getting the player optimized should change all that. All said, I like to think that QuickB2 adds a very thin layer (performance-wise) to the Alchemy port.
The demo on the WCK page makes heavy use of vector graphics (as does mine). I think this is probably more of a reason for the slow performance than the engine itself.
The Alchemy port actually addresses both points you made about increasing engine performance. b2Fixture has flags, off by default, that set whether a contact is passed to your listener class in the first place. Also, it has a pool of reusable defs so you only instantiate one of each at start-up. As for other objects (b2Body's, etc.), most of their memory is handled in C++ land, not by the GC, so again you should see a reasonable boost in performance there.
QuickB2 incorporates all the Alchemy optimizations that I know of.
As a side note, I actually did make a simple android app with QuickB2. This was an early version of the library, and I didn't do any kind of optimization in the demo code, nor with the bitmaps (and sound is delayed), but here it is:
http://dougkoellmer.com/HelloAndroid.apk
The demo on the WCK page makes heavy use of vector graphics (as does mine). I think this is probably more of a reason for the slow performance than the engine itself.
The Alchemy port actually addresses both points you made about increasing engine performance. b2Fixture has flags, off by default, that set whether a contact is passed to your listener class in the first place. Also, it has a pool of reusable defs so you only instantiate one of each at start-up. As for other objects (b2Body's, etc.), most of their memory is handled in C++ land, not by the GC, so again you should see a reasonable boost in performance there.
QuickB2 incorporates all the Alchemy optimizations that I know of.
As a side note, I actually did make a simple android app with QuickB2. This was an early version of the library, and I didn't do any kind of optimization in the demo code, nor with the bitmaps (and sound is delayed), but here it is:
http://dougkoellmer.com/HelloAndroid.apk