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

The dashes do not take up any space, they are not encoded. I think it's fairly common to reserve some space to versions and ECC in uuids, packets etc. That's a price to pay to avoid many bugs and compatibility issues.


UUIDs are often pushed around in JSON and as string types, including the none random parts.


Do those dashes cause any meaningful performance impact, or is this just a microoptimization obsession?




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

Search: