carykh / PrisonersDilemmaTournament

Watch This Place's awesome video about iterated Prisoner's Dilemma for context! https://www.youtube.com/watch?v=BOvAbjfJ0x0
MIT License
205 stars 160 forks source link

Large (52%) Performance Gains #37

Open TimStanglow opened 3 years ago

TimStanglow commented 3 years ago

See the relevant commit

zebarnabe commented 3 years ago

I get some performance gains, however they are far from the 52% gain stated, running in a environment with 48 strategies (1128 rounds per tournament), for me the time taken to run 10 tournaments is:

One thing that has a lot of impact in the overall time is the performance of the strategies themselves, in my case I have a few strategies that take quite some time when compared with the examples.

In any case, in the context of the tournament code, there is a measurable improvement in the execution time with this change.