all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: emacs-devel@gnu.org
Subject: Re: current-time and GMP
Date: Wed, 29 Aug 2018 21:27:52 -0400	[thread overview]
Message-ID: <jwvbm9ky7l8.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m2pny0daph.fsf@newartisans.com> (John Wiegley's message of "Wed,  29 Aug 2018 16:17:30 -0700")

> 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	other threads:[~2018-08-30  1:27 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-29  2:30 current-time and GMP Stefan Monnier
2018-08-29  9:07 ` Paul Eggert
2018-08-29 19:16   ` Stefan Monnier
2018-08-29 21:10     ` Helmut Eller
2018-10-02  1:09     ` Paul Eggert
2018-10-22 15:07       ` Joseph Mingrone
2018-10-22 15:15         ` Kaushal Modi
2018-10-22 15:49           ` Eli Zaretskii
2018-10-22 15:50         ` Eli Zaretskii
2018-10-22 15:57           ` Kaushal Modi
2018-10-22 16:10             ` Kaushal Modi
2018-10-22 16:24               ` Joseph Mingrone
2018-10-22 17:27                 ` Eli Zaretskii
2018-10-22 19:38                   ` Joseph Mingrone
2018-10-22 18:31         ` Paul Eggert
2018-10-22 19:39           ` Joseph Mingrone
2018-08-29 23:17 ` John Wiegley
2018-08-30  1:27   ` Stefan Monnier [this message]
2018-08-30  2:42     ` T.V Raman
2018-08-30  5:51       ` John Wiegley
2018-08-30  5:51     ` John Wiegley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvbm9ky7l8.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.