|
From: | Lassi Kortela |
Subject: | More millisecond procedures |
Date: | Sun, 3 May 2020 15:48:46 +0300 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
Attached is a set of two patches. The first one simply adds a deprecation notice to current-milliseconds and adds the new procedure current-process-milliseconds.
Racket also has `current-inexact-milliseconds`: "Returns the current time in milliseconds since midnight UTC, January 1, 1970. The result may contain fractions of a millisecond." <https://docs.racket-lang.org/reference/time.html>
In general, millisecond precision is probably attainable on most/all operating systems without too much fuss. It's the sub-millisecond range where the problems begin.
Would it make sense to write a really simple SRFI about these millisecond-precision procedures?
[Prev in Thread] | Current Thread | [Next in Thread] |