[Python-ideas] millisecond and microsecond times without floats

Antoine Pitrou solipsis at pitrou.net
Wed Jun 24 12:40:10 CEST 2015


On Wed, 24 Jun 2015 13:13:49 +0300
Paul Sokolovsky <pmiscml at gmail.com> wrote:
> 
> So, the question is not how to "appropriate for precise datetime
> computations" - MicroPython inherits that ability by being a Python,
> but how to scale into the opposite direction, how to integrate into
> stdlib "realtime" time handling, which is simple, fast (getting timing
> value itself is low-overhead) and modular-arithmetic by its nature.

I'm sorry, I don't understand. If you have 64-bit ints then why would
you use anything smaller for timestamps?

Regards

Antoine.




More information about the Python-ideas mailing list