Skip to content

Change cache pattern#1453

Merged
gaffney2010 merged 4 commits into
Axelrod-Python:devfrom
gaffney2010:change-cache-pattern
Nov 30, 2024
Merged

Change cache pattern#1453
gaffney2010 merged 4 commits into
Axelrod-Python:devfrom
gaffney2010:change-cache-pattern

Conversation

@gaffney2010
Copy link
Copy Markdown
Member

Switches caching pattern to check-cache-and-early-exit to make code slightly more readable.

Previously, caching was only read if the strategy was not stochastic. This new pattern doesn't save caches in the stochastic case.

@gaffney2010
Copy link
Copy Markdown
Member Author

I'll figure out why these tests are failing.

@gaffney2010 gaffney2010 closed this Nov 6, 2024
@gaffney2010 gaffney2010 reopened this Nov 11, 2024
@gaffney2010 gaffney2010 reopened this Nov 11, 2024
@gaffney2010 gaffney2010 merged commit d2184c6 into Axelrod-Python:dev Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants