TheBB/aligulac — pull request #115 by Prillan (2013-12-22 22:56:44+00:00)
Title: Sql optimizations on /period/

Prefetch the previous period for each player. Greatly decreases the number of queries.