vcmi/vcmi — pull request #39 by IvanSavenko (2014-09-21 14:16:11+00:00)
Title: Optimization/swift ai

Trying to get rid of AI bottlenecks detected by Intel profiler. Major changes so far:
* setSelection server message is completely removed. All selections are now done solely by CPlayerInterface
* disabled Nagle algorithm for TCP connections. Should notably decrease delays at the cost of a bit larger network load due to disabled batching.

Remaining issues:
* AI dwelling visitation code - waiting for Warmonger reply on forums for possible solution
* cheat codes that require selected object are temporary disabled since "current selection" is no longer available on server.
* possibly - bugs due to somewhat remade pathfinding caching.