Closed fu5ha closed 1 year ago
Is this the same as https://github.com/EmbarkStudios/mirror-mirror/pull/115?
yes but mine is first 😉 . No specific opinion who's could be closed. I also used the random state in the HashMap
so we wont get random order there either. At least, if that is how it works.
Then lets just go with https://github.com/EmbarkStudios/mirror-mirror/pull/115
Right now,
NodeId
is inconsistent across different processes and runs of the same process, which is potentially problematic in several situations. This uses a static, non-randomahash::RandomState
as well as taking advantage of the apparently slightly fasterRandomState::hash_one
to calculate theNodeId
hash fromTypeId
. cc @TimonPost