Commit Graph

9 Commits

Author SHA1 Message Date
Sascha L. Teichmann
3e3413566b Only do expensive area coverage calculation if there where blocks loaded from database.
If there are not, nothing changed, so nothing to recalculate.
Takes a good deal from the clock.
2017-02-26 12:57:38 +01:00
Sascha L. Teichmann
7f78feb9bd Replaced expensive fmt.Sscanf call in redis client with strconv.ParseInt. 2017-02-25 19:29:27 +01:00
Sascha L. Teichmann
228bd9026b Added a recyling pool for bulk strings written in redis client to help performance. 2017-02-25 17:00:17 +01:00
Sascha L. Teichmann
b6bfe468b7 For symmetry inline readline function in redis client. 2017-02-24 21:23:04 +01:00
Sascha L. Teichmann
744208ba00 Removed superfluous error checking in redis client. 2017-02-24 19:54:19 +01:00
Sascha L. Teichmann
3c2ab551f1 Opitimized writing redis hspatial queries a bit. 2017-02-24 19:49:08 +01:00
Sascha L. Teichmann
7f82d482f5 More header updates. 2015-07-26 16:44:51 +02:00
Sascha L. Teichmann
b66c7fdff3 Redis client: Pulled micro optimisation over from server when constructing bulk strings. 2015-06-28 14:41:07 +02:00
Sascha L. Teichmann
560afae6c4 Moved redis client from tilemapper to common. 2014-09-13 19:18:12 +02:00