Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
.NET: Avoid Using Guid.CreateVersion7 (gist.github.com)
2 points by sdrapkin 31 days ago | hide | past | favorite | 1 comment


Guid.CreateVersion7 in .NET 9+ claims RFC 9562 compliance but violates its big-endian requirement for binary storage. This causes the same database index fragmentation that v7 UUIDs were designed to prevent. Testing with 100K PostgreSQL inserts shows rampant fragmentation (35% larger indexes) versus properly-implemented sequential GUIDs.




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

Search: