emacs-devel
[Top][All Lists]
Advanced

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

Re: current-time and GMP


From: Stefan Monnier
Subject: Re: current-time and GMP
Date: Wed, 29 Aug 2018 21:27:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> SM> - keep it as is
> Just to play devil's advocate: Does it need to change?

It's definitely not high priority.

> Is there any Emacs Lisp code you think of that whose utility could
> benefit from greater precision than what we have now?

The time-manipulation code is just pretty ugly because of the need to
manipulate those 3-4 element list, basically performing bignum-style
operations by hand (see (F)time_add, (F)time_substract, .... in
editfns.c).

Admittedly, it'll probably take a while before we move to something else
than picoseconds as to basis, so I don't think it's a serious
maintenance hassle.  It's just that the code could be more elegant.


        Stefan



reply via email to

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