4 ms·
Maybe I wasn’t clear. The integers that enter the base62 used to be autoincrements. After time they became what was published in the blog post. If “timestamp”
by doh 7y ago
Maybe I wasn’t clear. The integers that enter the base62 used to be autoincrements. After time they became what was published in the blog post.
If “timestamp” function is not from FB or not inspired by, then it must be a massive coincidence because FB’s IDs are almost exactly the same. They just don’t hash them with base62.
- rbranson 7y agoFBIDs are complicated because the number space includes legacy IDs, but the modern space have a 24-bit shard ID prefix and a 38-bit autoincrement identifier. Two of the bits are “thrown away.” Timestamps aren’t involved. EDIT: ugh. Still early for us slackers on the West coast to do basic math.
- doh 7y agoFair enough. They do appear to be very similar in structure and they do follow some logic in correlation to timestamp. However you seem to be more knowledgeable about it and so I will add this to my mental knowledge book. Thank you