2 ms·
I've naively used millisecond precision things for a long time - not in anything critical I don't think - but I've only recently come to more of an awareness th
by Cthulhu_ 4y ago
I've naively used millisecond precision things for a long time - not in anything critical I don't think - but I've only recently come to more of an awareness that a millisecond is a pretty long time. Recent example is that I used a timestamp to version a record in a database, but it's feasible that in a Go application, a record could feasilby be mutated multiple times a millisecond by different users / processes / requests.
Unfortunately, millisecond-precise timestamps proved to be a bit tricky in combination with sqlite.
- account42 4y agoTo put this into perspective, a game (or anything) running at 60 FPS only as a bit over 16 milliseconds to render each frame. These days higher frame rates are common enough, often putting you down into single-digit milliseconds per frame. Not think about how many things there are simulated and rendered in each frame for common games. Way more than 16.