Skip to content

Use maps instead of objects for begin/end turns - #74

Open
simlmx wants to merge 2 commits into
mainfrom
use-maps-for-turns
Open

Use maps instead of objects for begin/end turns#74
simlmx wants to merge 2 commits into
mainfrom
use-maps-for-turns

Conversation

@simlmx

@simlmx simlmx commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Maps are iterated in the order of insertion, whereas objects's key are iterated in a custom order that depends on the keys. In ours case keys are user ids. Having the order not depend on the user ids makes unit testing simpler down the line.

simlmx added 2 commits July 1, 2026 18:26
Maps are iterated in the order of insertion, whereas objects's key are
iterated in a custom order that depends on the keys. In ours case keys
are user ids. Having the order not depend on the user ids makes unit
testing simpler down the line.
@simlmx
simlmx force-pushed the use-maps-for-turns branch from b9940f3 to c762626 Compare July 1, 2026 18:27
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.

1 participant