From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: emacs-27 9ab85f0 1/3: Fix cl-concatenate (Bug#40180) Date: Mon, 23 Mar 2020 19:02:38 -0400 Message-ID: References: <20200323031343.771.17929@vcs0.savannah.gnu.org> <20200323031345.272D320E43@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="81450"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 24 00:03:30 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jGW6U-000L6j-6B for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Mar 2020 00:03:30 +0100 Original-Received: from localhost ([::1]:40564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGW6T-0007ws-6s for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Mar 2020 19:03:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48545) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGW5x-0007Sk-IA for emacs-devel@gnu.org; Mon, 23 Mar 2020 19:02:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGW5w-0005N7-E5 for emacs-devel@gnu.org; Mon, 23 Mar 2020 19:02:57 -0400 Original-Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]:34744) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGW5w-0005Mp-80 for emacs-devel@gnu.org; Mon, 23 Mar 2020 19:02:56 -0400 Original-Received: by mail-ot1-x334.google.com with SMTP id j16so15316350otl.1 for ; Mon, 23 Mar 2020 16:02:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h2F4bR9dGxbg8J3XFdXn+6ddP7xSUK9wUeKIXVQ170U=; b=MzYTqYDBMUkRv0PH36OpfBQ/h66PEjKZyCVEp9HNnljWNwJmmjN9VqIUlBV3UqFr0n FTuv/EalrOsuAM9332rNLo65IyTVj/dnbSBG3XZVqvTrpwdn00pthWan3CU7tYWRi0aU 3eZSuwXyv2FPU8Nd3OHX+XTM75S7qR4Tyao1h0g9B/1DYxhEY4GN0xJtCb7m71kHaQmT avGb9heVzQhvcdz8GbSGEtKItYNmZxMRkBzOtbKEmzAkoPChoeM1b74NjPiH+IV40NlB aVUffHAWo4cDUG9ELqfZxasUFZleurCZo1U2KJJBiQ95dj0XJbm1tTiQJg+4GhGFhr/c v9/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h2F4bR9dGxbg8J3XFdXn+6ddP7xSUK9wUeKIXVQ170U=; b=ppe7Kl0tkOdnKZsKZ6dRAEgtQn4KpJbwYRDWQkugGVQpaS8e/RAa4DBLv9iA1EoB7x Crr6z3z1b0U49M93ySneetnV69hYJfjggm6qDYTo6jDt/AMBfwu4jJlVDqMUBarO9Mqv KSuYpTF5RbwM5Pb9WfhkXwkNwKp1oc3GFflhWgbidTx5XJaC4p5ePUjJMs/a3CqpvhIp y+s7ymbDTpa0Hq5n6dOwcSyfUZDNnaLMmCCSwxGHUS2kpm+iAAnmTifdYlPektvoHP0V IMHFEUW4MBfVis95N3EX+YvXHTB/nKhEqkspAh8Kd1SEvN3PhKCUV2JvIFLYHbU7sC+q W+yw== X-Gm-Message-State: ANhLgQ0ly/A9dhV3ltqHO3T68oekmSb8Vdwz70g7qHehEjZTNEvwaar4 gH++FdP9/29AnScpOKsxpgA+2Mhs0W2pY7AQuJkbPHYJ X-Google-Smtp-Source: ADFU+vtDIzg3TrlV/ZGUplZr/0HYHqf9C1bXY1GIm7y880o+FazmHNxqqLVuIO0jW5sRf/2P8+09QdPmcx5OLGm6Gr4= X-Received: by 2002:a05:6830:10b:: with SMTP id i11mr18247061otp.99.1585004575234; Mon, 23 Mar 2020 16:02:55 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::334 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245741 Archived-At: On Mon, 23 Mar 2020 at 09:57, Noam Postavsky wrote: > > On Mon, 23 Mar 2020 at 09:31, Stefan Monnier wrote: > > > > > (defun cl-concatenate (type &rest sequences) > > > - (seq-concatenate type sequences)) > > > + (apply #'seq-concatenate type sequences)) > > > > A `defalias` would be significantly more efficient, no? > > Looks like it saves some garbage, yes. Now done in master [1: 78f76fe16e]: 2020-03-23 18:58:21 -0400 Make cl-concatenate an alias of seq-concatenate https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=78f76fe16e2737b40694f82af28d17a90a21ed7b