From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#25826: 26.0.50; cl-mapc and cl-mapl do needless consing Date: Tue, 21 Feb 2017 22:33:50 -0500 Message-ID: <87efyqhpb5.fsf@users.sourceforge.net> References: <87d1ecyno9.fsf@calancha-pc> <87shn7hdbx.fsf@users.sourceforge.net> <87lgsyncr1.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487734401 8168 195.159.176.226 (22 Feb 2017 03:33:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2017 03:33:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: 25826@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 22 04:33:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1cgNg1-00018k-8C for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Feb 2017 04:33:13 +0100 Original-Received: from localhost ([::1]:49616 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgNg3-00025w-SR for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Feb 2017 22:33:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgNft-00025m-Qy for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2017 22:33:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgNfq-0007I1-PO for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2017 22:33:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51294) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgNfq-0007Ht-MB for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2017 22:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cgNfq-0003sk-BC for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2017 22:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Feb 2017 03:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25826 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25826-submit@debbugs.gnu.org id=B25826.148773436514899 (code B ref 25826); Wed, 22 Feb 2017 03:33:02 +0000 Original-Received: (at 25826) by debbugs.gnu.org; 22 Feb 2017 03:32:45 +0000 Original-Received: from localhost ([127.0.0.1]:49493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgNfY-0003sF-Ri for submit@debbugs.gnu.org; Tue, 21 Feb 2017 22:32:44 -0500 Original-Received: from mail-it0-f49.google.com ([209.85.214.49]:32843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgNfX-0003s2-5t for 25826@debbugs.gnu.org; Tue, 21 Feb 2017 22:32:43 -0500 Original-Received: by mail-it0-f49.google.com with SMTP id d9so37605932itc.0 for <25826@debbugs.gnu.org>; Tue, 21 Feb 2017 19:32:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=46IjQKAyGpIChE42RgHRg8DfmGm8TUmgBOLnGFp3Ois=; b=pAnI538cHKKLnl3/XAITPQBDW3U8GDrBqCAi+tDTFJchClAq0ffQ5XiwhxQLRxAQ85 0ycev7iL5JQoBHjE0P0sfOhe8iE3BvbfPwN+W3MOk7RKSekZBHCLkT//p9ggCzxBEtqo cWY2jcuwlS6PQ81RcDS4tFDcjdr90k8gfrLfozfwWmMwG4ZtYY7nL7MvZLnOCBFXzQwm Tw6XdAuajwmYwk9W6yYUf6w+2MtyoAQ3rocG9fGmZMIe7QkKHuO8Ux2GklB8x68d8TvQ LcCIAGRHAG+thhaTN2g7gwuNUpzgZm1SAkWwaQTbQ4KDILSpGRHGMz1Q2ixVh4y0kfA1 yypA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=46IjQKAyGpIChE42RgHRg8DfmGm8TUmgBOLnGFp3Ois=; b=kvaOazgoYIbHL1q0Cxtx2bdHNZnSJlc/ee2Q/+4vMueZ5LnkJ8IJ9txp9do8Wv+X9O 92EG1d4aN+7H047RzDjvJbNWMAmypgBqMOg74ddFIIoc7MDypZmDWOHK07uNuDOlpuH8 Yq1y/ZUN3pXmRBdmUi08cBUjA1ekxtopYJewCm+cDxPeLDap7qpeNOzl8VtD8oCCrVQR rzPsb5tH/GIB/06H4M6nWLNCKTkPUANMfGDSyZiMCyGsn4WOOTo4Tu8jrErVpsC3dNal 74EmeQgqziUS/E9pcF2TAACe9pYfPP+Y9Auf9eMJirxTTiwSyAduR3bLBCjGG1d/Q2LJ nK0Q== X-Gm-Message-State: AMke39mV+HWIVKethGwLd9Kd/+2xbSgHYYHQko4knVGLj8y9cJgNOB6iEqLtaWpjEALWOA== X-Received: by 10.36.13.83 with SMTP id 80mr296191itx.49.1487734357723; Tue, 21 Feb 2017 19:32:37 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id j201sm118276ita.3.2017.02.21.19.32.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Feb 2017 19:32:37 -0800 (PST) In-Reply-To: <87lgsyncr1.fsf@calancha-pc> (Tino Calancha's message of "Wed, 22 Feb 2017 12:08:34 +0900") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129646 Archived-At: Tino Calancha writes: > How about the following updated patch? Looks good. Perhaps some tests would be a good idea too?