Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One benefit of keeping it separate is that you can choose the precision of the timestamp necessary. "Millisecond precision" is arbitrary and commonly insufficient.


it's commonly totally sufficient for IDs to represent a rough sort order

millisecond precision is great for a lot of use cases


I didn't say that it wasn't. Hell even ms is too precise for many use cases (usually where date is used instead).

What I said was that it's useful to be able to select timestamp precision independently of UUID implementation. One size that fits all fits none best.


Lucky for you, they also define UUIDv8 as a free-for-all where you can do whatever you want, and nanosecond precision is one of the examples given in the RFC.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: