zelark / nano-id-cc

Nano ID collision calculator
https://zelark.github.io/nano-id-cc/
MIT License
45 stars 10 forks source link

difference in 60 ids/hr vs 1 id/sec #26

Closed xerosanyam closed 4 years ago

xerosanyam commented 4 years ago

hey, I am trying to understand why the demo gives a different number for mathematically, the same input ie. 60 ids/hr = 1 id/sec

60 ids/hr = ~26 days

image

1 id/s = ~10 hrs

image

zelark commented 4 years ago

Hi @xerosanyam. There is a wrong point in the comparison. It should be 3600 IDs per hour, not 60.

xerosanyam commented 4 years ago

oops, my bad! 😓