antistasi-1.x icon indicating copy to clipboard operation
antistasi-1.x copied to clipboard

Despawn threads need optimization

Open StefArma opened this issue 7 years ago • 3 comments

https://github.com/A3Antistasi/antistasiofficial/search?p=1&q=AS_fnc_despawnUnits%3B&type=&utf8=%E2%9C%93

@Barbolani77 noticed that we're "spawning"(adding a thread in the unscheduled environment) the despawn function to too many units.

As the link above shows.. the amount is huge and an effort to increase performances

StefArma avatar Jan 25 '18 21:01 StefArma

Importing WotP method is the solution, as Barbolani said we need to spawn unit by unit, not entire groups

StefArma avatar Apr 29 '18 23:04 StefArma

Then why close ? This a huge work for a huge improvement no ?

zalexki avatar Apr 30 '18 14:04 zalexki

i think i confused issues

StefArma avatar Apr 30 '18 16:04 StefArma