3 ms·
Others, like JS and Lua, just use doubles, meaning they'll never overflow - instead every 2 numbers start to be considered equal. Then a while after that every
by mort96 9y ago
Others, like JS and Lua, just use doubles, meaning they'll never overflow - instead every 2 numbers start to be considered equal. Then a while after that every 4, etc. Not exactly optimal behavior when using incrementing IDs.
- tripzilch 9y agohowever, doubles represent integers accurately up to 53 bits. so that's still quite a lot before you run into that problem.