Sascha L. Teichmann
b0a42867d8
Improved performance of Renderer.Reset by factor of 2.
2017-02-24 17:59:41 +01:00
Sascha L. Teichmann
f11a9b0593
Recommend Go 1.8.
2017-02-24 14:31:33 +01:00
Sascha L. Teichmann
9e62c6c318
Merged branch new-mapblock-v27. Fixes #21 .
2017-02-24 13:33:57 +01:00
Sascha L. Teichmann
c167efecd2
Content and parameters width seems to be 255 instead of 2 in new block format. This is strange becaus they are set hard to 2 in mapblock.cpp#MapBlock::serialize.
2017-02-24 12:02:06 +01:00
Sascha L. Teichmann
90279506d1
Ported new map block offset in version >= 27 from C++ mapper.
...
Needs testing.
See 21444d00c3
2017-02-23 16:08:16 +01:00
Sascha L. Teichmann
833cc15d73
Go 1.7 is now stable so adjust the compiling instructions.
2016-08-21 10:48:22 +00:00
Sascha L. Teichmann
40142e193e
Merged in HybridDog/mtsatellite/HybridDog/optimize-track_playersinitlua-1471082645973 (pull request #1 )
...
optimize track_players/init.lua
2016-08-21 12:36:55 +02:00
HybridDog
059d013481
optimize track_players/init.lua
2016-08-13 10:04:08 +00:00
Sascha L. Teichmann
9b6427fa2e
Merged hdel-redis-command branch which allows to call /deleteblocks from MT server.
2016-07-28 10:43:20 +02:00
Sascha L. Teichmann
6b5f791a8a
Use write lock when executing block deletion.
2016-07-27 16:38:54 +02:00
Sascha L. Teichmann
d6ddd047a4
Fixed and simplified redis network code.
2016-07-26 16:32:24 +02:00
Sascha L. Teichmann
60f43c9f52
Implementation of Redis command HDEL. Needs testing. For issue #18 .
2016-07-26 16:15:10 +02:00
Sascha L. Teichmann
9f73435783
Mentioned Go1.7rc1
2016-07-11 17:13:53 +02:00
Sascha L. Teichmann
8c9d012de5
Update to Go1.7beta2
2016-06-26 12:47:23 +02:00
Sascha L. Teichmann
a9fa3b63fe
Mentioned 15% performance boost from Go1.7beta.
2016-06-05 15:35:31 +02:00
Sascha L. Teichmann
b12d86dcbd
Added tag 0.7 for changeset 02774f29e446
2016-05-13 16:46:11 +02:00
Sascha L. Teichmann
599ec1cf2b
Set version to 0.7
2016-05-13 16:46:06 +02:00
Sascha L. Teichmann
2583071e81
Merged the supress-identical-tile-overwrite feature branch.
...
The webmapper now has an internal cache of SHA1 hashes of the last 256 base tiles it writes to disk.
If a tile is regenerated its hash is compared to the already stored.
If the hash is the same as the one before the tile is not stored to file
and the pyramid tiles are not updated, too.
2016-05-13 16:42:53 +02:00
Sascha L. Teichmann
674912ed5f
Test linked list in both directions in base tile hash.
2016-05-11 18:43:20 +02:00
Sascha L. Teichmann
9a355d08fd
Typo fix.
2016-05-11 12:02:36 +02:00
Sascha L. Teichmann
a0d38b7ce6
Made go vet happy on test of base tile hashing.
2016-05-11 12:01:39 +02:00
Sascha L. Teichmann
ef1a2de98e
Fixed toFront opertaion in LRU logic of base tile hashing. Tests now pass.
2016-05-11 11:49:53 +02:00
Sascha L. Teichmann
ed41cfbe01
Made test less spammy.
2016-05-11 11:43:38 +02:00
Sascha L. Teichmann
b257a60b2d
Improved tests of base tile hash. They fail. TODO: Fix bugs in base tile hash.
2016-05-11 11:39:50 +02:00
Sascha L. Teichmann
bae7e7c3e6
Made size of hashes LRU cache a parameter set by the webmapper.
2016-05-10 21:02:16 +02:00
Sascha L. Teichmann
7cbe2e516c
Revert enabling websockets by default. Slipped in by accident.
2016-05-10 20:53:58 +02:00
Sascha L. Teichmann
69ee5af388
Implemented a simple LRU cache with max 256 entries for base tile hasing. TODO: Improve test.
2016-05-10 18:57:14 +02:00
Sascha L. Teichmann
5d1be98ae5
Cosmetics.
2016-05-08 23:27:11 +02:00
Sascha L. Teichmann
4c24a01607
Use empty structs instead of bools in changes.
2016-05-08 23:20:51 +02:00
Sascha L. Teichmann
da309c73d8
Removed obsolete comment.
2016-05-08 23:12:29 +02:00
Sascha L. Teichmann
496a60aa29
Simplified mask embedding in parent calculation of pyramid tiles.
2016-05-08 23:07:19 +02:00
Sascha L. Teichmann
da2a6a82d4
Simplified tiles update processing and forwarding.
2016-05-08 22:30:00 +02:00
Sascha L. Teichmann
b59f849d73
Make go vet happy.
2016-05-08 18:03:13 +02:00
Sascha L. Teichmann
fad16a58e8
Write tile coord if it is unchanged not the file path to the base tile.
2016-05-08 17:43:48 +02:00
Sascha L. Teichmann
398c52f8a5
Removed unnecessary general code.
2016-05-08 17:33:51 +02:00
Sascha L. Teichmann
792aae99d7
Simplified tile hash.
2016-05-08 17:22:04 +02:00
Sascha L. Teichmann
0900bd16ce
Finished logic to supress pyramid regeneration in mtwebmapper. Untested.
2016-05-08 15:38:50 +02:00
Sascha L. Teichmann
4bed73d9e3
Prepare tiles updater in webmapper to have unupdated base tiles.
2016-05-08 15:13:40 +02:00
Sascha L. Teichmann
5ee3731a27
Started with experimental hashing of base tiles to avoid redundant write operations and pyramid updates.
2016-05-08 12:33:17 +02:00
Sascha L. Teichmann
9f1735eb29
mtredisalize: Renamed parser.go to redisparser.go
2016-04-25 11:46:59 +02:00
Sascha L. Teichmann
72bd5ec77a
mtredisalize: Removed a useless level of abstraction in redis parser.
2016-04-25 11:43:50 +02:00
Sascha L. Teichmann
14ae6d3873
s/SqliteBackend/SQLiteBackend/ s/SqliteSession/SQLiteSession/ in mtredisalize.
2016-04-24 20:54:05 +02:00
Sascha L. Teichmann
d21fa6c027
Be more explicit about data flow directions of the channels in mtredisalize.
2016-04-24 20:47:55 +02:00
Sascha L. Teichmann
4dc43881c6
Added a few more comments to mtredisalize and unexport a few symbols.
2016-04-24 19:41:15 +02:00
Sascha L. Teichmann
7ac3c67e63
Made mtdbconverter pass golint by adding the missing comments.
2016-04-24 18:37:08 +02:00
Sascha L. Teichmann
67a16e2d3e
Unexport render internal methods.
2016-04-24 13:31:13 +02:00
Sascha L. Teichmann
6ab45d13c0
Recommend Go 1.6.2 instead 1.6.1
2016-04-24 13:02:52 +02:00
Sascha L. Teichmann
8c459d05de
Removed dead code.
2016-04-24 12:55:17 +02:00
Sascha L. Teichmann
ea57c7c35f
Silence all warnings of golint not related to missing comments.
2016-04-24 12:41:58 +02:00
Sascha L. Teichmann
cf14aed031
Merged
2016-04-24 11:21:07 +02:00