|
|
|
|
|
by Pxtl
4602 days ago
|
|
Wait, does that mean that iterating across the members of a Lua table is not in deterministic order? I assume it just uses the naive hash ordering for iterators... this is relevant because Lua is used as a scripting-engine SpringRTS which uses a lock-step-based multiplayer approach so anything non-deterministic risks breaking sync. |
|
Yes. And it is documented as such. Any dependency on repeatable iteration order is a bug.