Commit Graph

13 Commits

Author SHA1 Message Date
Tom Stellard 804185f354 Parse strategy conditions once when loading them from xml
This way strategy_live_game_check() only needs to evaluate the condition
and does not need to reparse it over and over again.

This reduces the number of instructions reported by
./test/benchmark.sh --benchmark by ~35%.
2021-03-30 10:20:11 -04:00
Tom Stellard 72549415cc Refactor strategy_live_game_check() 2021-03-30 10:20:11 -04:00
gunnar_g ca195b5e51 Updated the default team implementation 2009-09-15 12:02:44 +00:00
gyboth 078b70a1ea Added debug logging. 2009-04-29 17:18:54 +00:00
gyboth 23cfbb3f0c Added function name output when compiled with DEBUG. 2008-11-25 13:50:07 +00:00
gyboth bcf2a15133 "2.0.1" 2006-12-10 12:43:29 +00:00
gyboth c2626e1ad7 Minor fixes. 2006-04-08 19:25:48 +00:00
gyboth 6f61b20f96 "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
gyboth 534684b3c3 "Progressbar pics." 2005-11-02 21:04:19 +00:00
gyboth 54132543c4 "Betting bugfix." 2005-10-31 16:19:14 +00:00
gyboth b1c539abe0 "Betting improvements, opponent display in live game." 2005-10-28 09:11:33 +00:00
gyboth 79f1fea94e "Betting, first draft." 2005-10-27 21:10:15 +00:00
gyboth 3b23bb353f "CPU strategies, first draft." 2005-10-24 20:50:48 +00:00