all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Help-gnu-emacs@gnu.org
Subject: Re: Understanding dotimes skipping by 2
Date: Fri, 28 Sep 2018 15:23:30 +0300	[thread overview]
Message-ID: <83efdd7qv1.fsf@gnu.org> (raw)
In-Reply-To: <0011E5D8-A8DD-4829-AB06-502E14122CF7@scratch.space> (message from Van L on Fri, 28 Sep 2018 19:50:12 +1000)

> From: Van L <van@scratch.space>
> Date: Fri, 28 Sep 2018 19:50:12 +1000
> 
> 
> The 1+ syntactic sugar seems to cost performance by needing more lines of code

Please compare the actual performance, not the LOC.  The correlation
between those two is not necessarily high.

Also, arith_driver is a function with non-zero LOC, and you should
include that in the metrics, at least.

> and it is less general in power to process the argument list if it were to be extended like (+ x 1 2 3).

Of course it's less general: otherwise, why have a separate function?



  reply	other threads:[~2018-09-28 12:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-27 22:48 Understanding dotimes skipping by 2 Tim Johnson
2018-09-28  1:29 ` Van L
2018-09-28  2:56   ` Tim Johnson
2018-09-28  9:11   ` Joost Kremers
2018-09-28  9:50     ` Van L
2018-09-28 12:23       ` Eli Zaretskii [this message]
2018-09-28 12:26         ` Van L
2018-09-28 17:47     ` Tim Johnson
2018-09-28 18:16     ` Noam Postavsky
     [not found] <mailman.1418.1538089091.1284.help-gnu-emacs@gnu.org>
2018-09-27 23:14 ` Marco Wahl
2018-09-27 23:17   ` Eric Abrahamsen
2018-09-27 23:59     ` Tim Johnson
2018-09-27 23:32   ` Tim Johnson

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=83efdd7qv1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=Help-gnu-emacs@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.