As it turned out, changing all the math function calls (e.g. math.sin()) from Python math to Cython C-library calls removed the huge speed drop when running the engine on my Android phone! Will have to watch out for other instances of functions that also exist in a C version.
No comments:
Post a Comment