top | item 40121097

Show HN: Benchmarks of UUID bintext codecs in Go

1 points| Rican7 | 1 year ago |github.com

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.)

discuss

order