logoalt Hacker News

Etheryteyesterday at 8:18 PM2 repliesview on HN

That's such an odd way to use units. Why would you do 10^56 * 10^-9 seconds?


Replies

lisperyesterday at 8:34 PM

This was my thought. Nanoseconds are an eternity. You want to be using Planck units for your worst-case analysis.

show 1 reply
magicalhippoyesterday at 11:01 PM

Nanoseconds is a natural unit for processors operating around a GHz, as it's roughly the time of a clock cycle.

If a CPU takes 4 cycles to generate a UUID and the CPU runs at 4 GHz it churns out one every nanosecond.