mulander / evolutionchamber

Automatically exported from code.google.com/p/evolutionchamber
0 stars 0 forks source link

Performance boost #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
wouldn't it help greatly if you delete a lot of options? Like for example if no 
hydra den is requested at the end of the calculations, delete that option for 
your variants. So the engine doesn't have to check for every building at every 
time, just the selected (of course that isn't available for extra 
hatcheries/drones/overlords/queens). Just pretty much rob the calculator of the 
options that make no sense at all (like if i input 2 queens 6 zerglings one 
overseer, the engine should only check options for making drones, hatcheries, 
overlords, overseer, zerglings, spawning pool, lair, queen. Deny all other 
options such as speed upgrade for zerglings, all buildings except spawning 
pool/hatchery, deny hive etc. The way it is right now it checkes for all of 
those options, finishes, tries again. With denying everything that is not 
requested and does not have anything to do with economy i think this tool will 
be awesome. It will calculate like about 2^20 times faster (that's just a poor 
guess by me including all upgrades/buildings as 2^n) and you can do stuff like 
"create max mutas in 7 minutes" since the calculations are done so much faster.
Also as i already mentioned please let the user set a maximum of everything. 
This might be the same function as above and lets you somehow control the 
system way better (like stay on 1 base only)

i think this won't be that hard to implement. You have to add/subtract to the 
pool of available stuff that can be done at one point in time depending on what 
already exists/what is required/what is denied.

Original issue reported on code.google.com by ice...@gmail.com on 22 Oct 2010 at 6:57

GoogleCodeExporter commented 9 years ago
why if you give it 7 drone by 0:20 sec it will give you the build but is trying 
other things also, What is it calculating? I let it 10 min with this simple 
build and it was looking for something better?!

Original comment by ice...@gmail.com on 22 Oct 2010 at 7:57

GoogleCodeExporter commented 9 years ago
Another Perf tweak could be Q, there is no point in more that 1q/base unless it 
is a requirement. Currently it treys things like 2 base 4q ?

Original comment by ice...@gmail.com on 22 Oct 2010 at 8:22

GoogleCodeExporter commented 9 years ago
Okay I will translate this to TL;DR
Remove all the buildings/units/upgrades from the gene pool that are not being 
searched for. For example if you only search for fast roaches, take out 
everything but roach warren, hatch, drone, overlord and queen.

In your 2nd comment you propably searched for a 50drone+ build. The answer why 
it makes 4 queens is, it has excess minerals because it hasn't enough larva, so 
it uses those minerals on queens because queens are valued higher than stored 
minerals.

Original comment by azzur...@gmail.com on 22 Oct 2010 at 11:52

GoogleCodeExporter commented 9 years ago
I do not know what you are talking about, it`s not that i have added random 
buildings around, I see that in 0.15 the RW does not show anymore. As for 
queens i understand why it adds them i was just sugesting a limitation to 
reduce the posible variations so it will make it faster.

Original comment by ice...@gmail.com on 23 Oct 2010 at 7:24

GoogleCodeExporter commented 9 years ago
The roach warren bug was causing this issue. It is now fixed.

Original comment by Frit...@gmail.com on 23 Oct 2010 at 5:30