GNU bug report logs - #21782
25.0.50; New functions nfront/front

Previous Next

Package: emacs;

Reported by: Tino Calancha <f92capac <at> gmail.com>

Date: Thu, 29 Oct 2015 09:55:01 UTC

Severity: wishlist

Found in version 25.0.50

Done: Tino Calancha <tino.calancha <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 21782 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Tino Calancha <f92capac <at> gmail.com>
Cc: Artur Malabarba <bruce.connor.am <at> gmail.com>, 21782 <at> debbugs.gnu.org
Subject: Re: bug#21782: 25.0.50; New functions nfront/front
Date: Fri, 30 Oct 2015 03:38:33 +0100
Tino Calancha <f92capac <at> gmail.com> writes:

> +    (nreverse (last (nreverse list) n))))

Isn't this horribly inefficient?  It would be better to use `nthcdr' or
a simple loop.

Dunno if this should be in the core, I think having this functionality
in "seq.el" is a good place.


Michael.




This bug report was last modified 8 years and 61 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.