From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: current-time and GMP Date: Wed, 29 Aug 2018 21:27:52 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535592360 23577 195.159.176.226 (30 Aug 2018 01:26:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2018 01:26:00 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 30 03:25:56 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvBid-000610-Qw for ged-emacs-devel@m.gmane.org; Thu, 30 Aug 2018 03:25:55 +0200 Original-Received: from localhost ([::1]:46299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvBkk-0005OL-06 for ged-emacs-devel@m.gmane.org; Wed, 29 Aug 2018 21:28:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvBkc-0005O4-Um for emacs-devel@gnu.org; Wed, 29 Aug 2018 21:27:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvBkY-0000Vy-TQ for emacs-devel@gnu.org; Wed, 29 Aug 2018 21:27:58 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:55549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvBkY-0000Un-Nx for emacs-devel@gnu.org; Wed, 29 Aug 2018 21:27:54 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w7U1Rr8R013046; Wed, 29 Aug 2018 21:27:53 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D40E169F6E; Wed, 29 Aug 2018 21:27:52 -0400 (EDT) In-Reply-To: (John Wiegley's message of "Wed, 29 Aug 2018 16:17:30 -0700") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6362=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6362> : inlines <6837> : streams <1796949> : uri <2699055> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229081 Archived-At: > 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