More precise `time.Sleep()`
Closed this issue · 0 comments
mlange-42 commented
Currently, FPS and TPS can only be limited to approximate values due to inexact waiting times for time.Sleep()
, particularly on Windows.
Is there any better way for sleeping an exact time?
We already loop for times <20ms instead of using time.Sleep()
, but time measurements still seem not precise enough.