A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-February/116191.html below:

[Python-Dev] PEP: New timestamp formats

[Python-Dev] PEP: New timestamp formats [Python-Dev] PEP: New timestamp formatsVictor 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4