Skip to content

v.0.4.1

Compare
Choose a tag to compare
@Trisfald Trisfald released this 22 Feb 19:00
· 120 commits to master since this release

Changes

Replaced HashMap with IndexMap.

Rust's HashMap with default Hasher doesn't guarantee a consistent order while iterating over its elements.
This can be an issue in few corner cases. For instance, iterating over entities and generating side effects might cause a desync if the server and the client iteration order are different.

IndexMap, instead, provides a consistent iteration order across different executions.