[Python-Dev] PEP 564: Add new time functions with nanosecond resolution (original) (raw)
Victor Stinner victor.stinner at gmail.com
Sun Oct 22 19:54:37 EDT 2017
- Previous message (by thread): [Python-Dev] PEP 564: Add new time functions with nanosecond resolution
- Next message (by thread): [Python-Dev] PEP 564: Add new time functions with nanosecond resolution
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le 22 oct. 2017 17:06, "Wes Turner" <wes.turner at gmail.com> a écrit :
Must they always use their own implementations of time., datetime. init, fromordinal, fromtimestamp ?!
Yes, exactly.
Note: Adding resolution better than 1 us to datetime is not in the scope of the PEP but there is an issue, open since a long time.
I don't think that time.time_ns() is usable for such experiment. Again, calling a function is Python takes around 50 ns.
Victor -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20171023/9591fc4e/attachment.html>
- Previous message (by thread): [Python-Dev] PEP 564: Add new time functions with nanosecond resolution
- Next message (by thread): [Python-Dev] PEP 564: Add new time functions with nanosecond resolution
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]