-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make use of time.clock_gettime_ns() #12
Comments
@socketpair Feel free to create a pull-request 😄 |
This is a good idea. I’m not sure if it’s really meaningfully faster, but it does make sense to use an integer API when we want an integer. One caveat is that |
IS faster: python/cpython#111482 |
It is faster and without floating point. Just
time.clock_gettime_ns() // 1000000
to get milliseconds.The text was updated successfully, but these errors were encountered: