Optimize Turn Times
Players love the new challenge the AI has. But as you already knew, if the AI played more like the player, the turn times would suffer. Oh well. Do what you can to improve performance.
Good Luck.
(Note, might be a multi-version ticket, I'm sure there is save game changes you could make...)
Comments (27)
-
reporter -
reporter - changed milestone to 1.23 SP2
-
reporter Finished FactoryCleanup(), generateHTMLSalesReport(), and first half of generateHTMLCitySalesReport(). Need to do second half like you did generateHTMLSalesReport city's stuff.
-
reporter - changed milestone to 1.23 SP3
-
reporter generateHTMLCitySalesReport(), generateHTMLExpenseReport(), [95], and [39] completed.
-
reporter RetrieveTurn(), RetrieveYear(), and change max ID system completed. Done most of [32] except for the AI. AiController() done, up to AIBuildBranch done, Half of WhereToBuildCompleted.
-
reporter - changed milestone to 1.23 SP4
-
reporter 32, 100, and all AI's (up to 19) done.
-
reporter - changed milestone to 1.23.1
-
reporter Did 102 and 100 (more) and 42.
-
reporter - changed milestone to 1.23.2
-
reporter Knocked out Possibles Sales from the buyer's calculation system and moved it into a hash. ~10% speed gains. Will look into stock calculations when working on those systems.
-
reporter - changed milestone to 1.23.3
-
reporter 5-10% turn time reduction.
-
reporter - changed milestone to 1.23.4
-
reporter A bug in vs2005's optimization compiler hurt our 3 day optimization plans. 5% gains reducing etprocesmarket's cardistro query and moving some hashes out of the big loop.
Look to see if we can move city hash into branch loop. And then consider making the structs in structs (out of the big loop) use pointers. Reducing memory copying...
-
reporter - changed milestone to 1.24
-
reporter - changed milestone to 1.24 RC1
-
reporter - changed milestone to 1.25
-
reporter - changed milestone to 1.24 SP2
-
reporter Half of etProcessShippingToBranches is done. The stuff inside sortedShippingList could be optimized (reduce updates) for a few percent gains.
-
reporter - changed milestone to 1.24 SP3
-
reporter - changed milestone to 1.24 SP4
-
reporter - changed milestone to 1.24 SP5
-
reporter - changed milestone to 1.24 SP6
-
reporter - changed milestone to 1.24 SP7
-
reporter - changed milestone to zDone 1.24 SP7
- Log in to comment
Did monthly history and some processsales.
Do some left/inner joins and insert select's on reports and playerhistory stuff. And process player shipping. Districting/Sales is especially laggy.