[Python-Dev] PEP: New timestamp formats
Victor Stinner
victor.stinner at haypocalc.com
Sat Feb 4 00:39:55 CET 2012
> consider changing the default on any of these that return a time
> value. these for example:
> * time.clock_gettime()
> * time.wallclock() (reuse time.clock_gettime(time.CLOCK_MONOTONIC))
Ah. Nanosecond resolution is overkill is common cases, float is enough
and is faster. I prefer to use the same type (float) by default for
all functions creating timestamps.
Victor
More information about the Python-Dev
mailing list