IFMO-MobDev-2014/lesson1 — pull request #21 by knah (2014-09-14 16:07:55+00:00)
Title: Кузнецов Николай, 2539

Lots of optimizations, mostly doing compiler's work by unrolling loops (where applicable) and predicting conditional jumps (It's totally not necessary to check field boundaries for almost whole field).
Additionally, using as few draw calls as possible (one per frame), and not allocating memory when not necessary.

Added a second thread to perform drawing and updating in parallel, since most modern phones have at least dual-core CPU.

This version is achieving 55-60 fps on Samsung Galaxy S2.