olls / graphics

A console based graphics engine for simple Unicode games and animations.
GNU General Public License v3.0
11 stars 4 forks source link

Optimization #29

Open olls opened 10 years ago

olls commented 10 years ago

Running game.py in full-screen mode is VERY laggy. Some of the algorithms could defiantly do with some optimization, as well as the general code flow. A lot is being done on every frame.

olls commented 10 years ago

It appears most of the lag in game.py is due to the amount of non space characters being printed. I expect this is just the terminal not being able to print fast enough, in which case there is not much we can do about it. Nevertheless we still need to optimize a lot of the code.