[Python-Dev] PEP 410 (Decimal timestamp): the implementation is ready for a review (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Wed Feb 15 19:10:13 CET 2012
- Previous message: [Python-Dev] PEP 410 (Decimal timestamp): the implementation is ready for a review
- Next message: [Python-Dev] PEP 410 (Decimal timestamp): the implementation is ready for a review
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le mercredi 15 février 2012 à 18:58 +0100, Victor Stinner a écrit :
It gives me differences smaller than 1000 ns on Ubuntu 11.10 and a Intel Core i5 @ 3.33GHz:
$ ./a.out 0 s, 781 ns $ ./a.out 0 s, 785 ns $ ./a.out 0 s, 798 ns $ ./a.out 0 s, 818 ns $ ./a.out 0 s, 270 ns
What is it supposed to prove exactly? There is a difference between being able to represent nanoseconds and being able to measure them; let alone give a precise meaning to them.
(and ironically, floating-point numbers are precise enough to represent these numbers unambiguously)
Regards
Antoine.
- Previous message: [Python-Dev] PEP 410 (Decimal timestamp): the implementation is ready for a review
- Next message: [Python-Dev] PEP 410 (Decimal timestamp): the implementation is ready for a review
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]