Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Benchmarks of UUID bintext codecs in Go (github.com/rican7)
1 point by Rican7 on April 22, 2024 | hide | past | favorite
Hey y'all. I've been reading so much about different kinds of k-sortable, unique IDs for entities/resources, and the different encodings to use for different reasons (length, case-sensitivty, etc), that I wondered if any of the well-known implementations (in Go) had any performance benefits, and decided to benchmark them.

Will this be the bottleneck of your app? Nah, most likely not, but it was a fun exploration nonetheless.

(Oh, and the name... I might come back and benchmark some values other than just UUIDs... so I kept it generic enough... whatever.)





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

Search: