Replacing the pure Python files with Cython improves the speed of the Android build a little each time, currently it runs at maybe 60-70% of the PC version. The many "small" function calls in the engine probably cause a lot of overhead when using the standard Python mechanism so I expect that nearly everything will have to be cythonized to get close to PC speeds on Android. The current APK is again stored under here.
I was hoping the mechanism of storing a function object in mover instances would work well enough but this may cause too much overhead as well, so a better approach might be needed.
No comments:
Post a Comment