Comment Comment by nitwit005 The Python version simply forces the timestamp forward if needed to preserve ordering: if timestamp_ms < _last_timestamp_v7: timestamp_ms = _last_timestamp_v7 + 1 https://github.com/python/cpython/blob/8d119208074fef0f652f1...But if you did want "monotonically increasing IDs", as the article suggests, that is what you want. parent nitwit005 18 days ago
But if you did want "monotonically increasing IDs", as the article suggests, that is what you want.