emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: current-time and GMP


From: Paul Eggert
Subject: Re: current-time and GMP
Date: Mon, 1 Oct 2018 18:09:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

On 8/29/18 12:16 PM, Stefan Monnier wrote:
Right, I think (INTEGER-TIMESTAMP . RESOLUTION) would be a nice
representation.  We can additionally (and temporarily) signal an
error/warning if INTEGER-TIMESTAMP (and/or RESOLUTION) is "too small"
(indicating a very likely use of the deprecated (HOGH . LOW)
representation).

OK, I submitted a proposed patch to that effect as Bug#32902. I tested it on 32- and 64-bit platforms, as well as in a "future" mode where current-time etc. return the new (INTEGER-TIMESTAMP . RESOLUTION) format. It works well for me, though of course there may be glitches I missed. Comments welcome.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]