Optimize PerformGather in ResourceGatherer.js after the Tracelogger revelead it was...
commit01fd165c5afdc4947286b5a11e6e9c44a7c237f7
authorwraitii <wraitii@3db68df2-c116-0410-a063-a993310a9797>
Sat, 14 Nov 2015 12:26:33 +0000 (14 12:26 +0000)
committerwraitii <wraitii@3db68df2-c116-0410-a063-a993310a9797>
Sat, 14 Nov 2015 12:26:33 +0000 (14 12:26 +0000)
treeb0265d6f35a509ad98e6737b93bc4a4a3af083e9
parent72e9fd113857fe59c4e375b98359e8eb99273b9d
Optimize PerformGather in ResourceGatherer.js after the Tracelogger revelead it was a performance hotspot. Should be about twice as fast.
Optimizations were: caching gathering rates and removing a useless message.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@17251 3db68df2-c116-0410-a063-a993310a9797
binaries/data/mods/public/simulation/components/ResourceGatherer.js
binaries/data/mods/public/simulation/components/ResourceSupply.js
binaries/data/mods/public/simulation/components/interfaces/ResourceGatherer.js
binaries/data/mods/public/simulation/helpers/InitGame.js