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/2002-September/028649.html below:

[Python-Dev] Subsecond time stamps

[Python-Dev] Subsecond time stamps [Python-Dev] Subsecond time stampsPaul Svensson paul-python@svensson.org
Fri, 6 Sep 2002 10:31:25 -0400 (EDT)
On 6 Sep 2002, Martin v. Löwis wrote:

>A number of systems provide subsecond time stamp resolution for
>files. In particular:
>
>- NFS v3 has nanosecond time stamps.
>
>- Solaris 9 has nanosecond time stamps in stat(2), and microsecond
>  time stamps in utimes(2). In addition, they have microsecond time
>  stamps on ufs. It appears that other Unices have also extended
>  stat(2), as does OS X.
>
>- NTFS has 100ns resolution for time stamps.

(---)

>C. Make st_mtime a floating point number. This won't offer nanosecond
>   resolution, as C doubles are not dense enough.

This seems to me the most Pythonic way.
Are C doubles dense enough to offer 100 ns resolution ?

	/Paul




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