ryanwinchester / uuidv7

UUIDv7 for Elixir (and Ecto)
MIT License
31 stars 3 forks source link

add uuuidv7 to benchmark #11

Closed dkuku closed 1 week ago

dkuku commented 1 week ago

Hi - thanks for the project. I was looking for a sorted one for use mainly in test. I was thinking about increasing the precision with time and there is a suggestion about it in the rfc so I decided to implement it. If you're interested to include it in your benchmarks then it's in the pr.

ryanwinchester commented 1 week ago

Cool, it's nice to have options.

I started with increased time-based precision as well and then switched to a counter to match the proposed postgresql implementation (https://github.com/ryanwinchester/uuidv7/pull/3)

However, I don't think we need the benchmark, I think it should roughly match bitwalker/uniq.