Do not use the spread operator in the AI euclidian distance helper function which...
commit35f0d84475f6055f13bf3b95d6150e33299c1641
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Thu, 26 Oct 2017 12:56:51 +0000 (26 12:56 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Thu, 26 Oct 2017 12:56:51 +0000 (26 12:56 +0000)
tree8ff373d89ebacae69defec1c8c014d4e47016cda
parentd5045611997bc973f5eb7217ee615a7b170f775f
Do not use the spread operator in the AI euclidian distance helper function which made it 200 times slower, as reported.
(The spread operator is not faster in sm45 according to my test.)

Differential Revision: https://code.wildfiregames.com/D980
Refs rP20328.
Not accepted by anyone.

git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@20351 3db68df2-c116-0410-a063-a993310a9797
binaries/data/mods/public/simulation/ai/common-api/utils.js