Skip to content

Conversation

eulerscheZahl
Copy link
Contributor

Right now the ToggleModule increases the replay size a lot when creating a debug view, e.g.
\"toggles\":[{\"2\":{\"name\":\"d\",\"state\":false},\"3\":{\"name\":\"d\",\"state\":true},\"4\":{\"name\":\"d\",\"state\":false},\"9\":{\"name\":\"d\",\"state\":true},\"10\":{\"name\":\"d\",\"state\":false},\"13\":{\"name\":\"d\",\"state\":true},\"14\":{\"name\":\"d\",\"state\":false}}]
This pull request stores the same information more efficiently:
\"toggles\":{\"d\":\"2-3+4-9+10-13+14-\"}

@nantoniazzi nantoniazzi merged commit e79c16b into CodinGame:master Aug 24, 2020
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