From: Michael Heerdegen <michael_heerdegen@web.de>
To: Emacs Development <emacs-devel@gnu.org>
Subject: Re: A few thoughts on seq.el
Date: Tue, 02 Aug 2016 00:08:32 +0200 [thread overview]
Message-ID: <87shuo16sf.fsf@web.de> (raw)
In-Reply-To: <87ziow17cn.fsf@web.de> (Michael Heerdegen's message of "Mon, 01 Aug 2016 23:56:24 +0200")
Michael Heerdegen <michael_heerdegen@web.de> writes:
> list L has, say, 100000 elements,
>
> (cl-subseq l 1 3)
>
> will be very slow because it always calculates the length of the first
> argument L.
Eh, no, that must have been another function, or it has been fixed.
What I said is not correct, the function calculates the list length only
when necessary (negative indexes).
Michael.
prev parent reply other threads:[~2016-08-01 22:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-31 9:31 A few thoughts on seq.el Tino Calancha
2016-07-31 17:36 ` Nicolas Petton
2016-07-31 17:49 ` Clément Pit--Claudel
2016-07-31 19:19 ` Nicolas Petton
2016-08-02 2:49 ` Tino Calancha
2016-08-01 8:48 ` Nicolas Petton
2016-08-01 12:06 ` Clément Pit--Claudel
2016-08-01 12:24 ` Nicolas Petton
2016-08-01 21:56 ` Michael Heerdegen
2016-08-01 22:08 ` Michael Heerdegen [this message]
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=87shuo16sf.fsf@web.de \
--to=michael_heerdegen@web.de \
--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.