This Python script
import time
while True:
ns = time.time_ns()
print(ns)
prints lots of identical values (always non-decreasing though). I am using Python 3.10 and Windows 10. Looks like a clock precision issue. Is there a way to get strictly increasing values?