Skip to content

Conversation

@eliasdaler
Copy link
Contributor

Previously, when I ran codegen, I got new .go/.cpp files each time I run it because the order of map iteration in Go is not deterministic (e.g. when iterating over a parsed JSON). This can be solved by sorting some of the things in lexicographic order later.

Looks like cimgui does something similar, see here, for example.

@AllenDang AllenDang merged commit 158164e into AllenDang:main Oct 31, 2022
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