Movatterモバイル変換
[0]ホーム
[Python-Dev] PEP: New timestamp formats
Victor Stinnervictor.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 enoughand is faster. I prefer to use the same type (float) by default forall functions creating timestamps.Victor
More information about the Python-Devmailing list
[8]ページ先頭