(original) (raw)

Le 22 oct. 2017 17:06, "Wes Turner" <wes.turner@gmail.com> a écrit :
Must they always use their own implementations of time., datetime. \_\_init\_\_, fromordinal, fromtimestamp ?!

Yes, exactly.

Note: Adding resolution better than 1 us to datetime is not in the scope of the PEP but there is an issue, open since a long time.

I don't think that time.time\_ns() is usable for such experiment. Again, calling a function is Python takes around 50 ns.

Victor