From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Why does adding a useless copy-sequence and discarding the result make my ELisp 40 times faster? Date: Sun, 26 Mar 2017 09:35:58 -0400 Message-ID: References: <86lgrs5ge9.fsf@stephe-leake.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1490535388 1454 195.159.176.226 (26 Mar 2017 13:36:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 26 Mar 2017 13:36:28 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 To: Stephen Leake , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 26 15:36:23 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cs8L7-0006zX-EP for ged-emacs-devel@m.gmane.org; Sun, 26 Mar 2017 15:36:13 +0200 Original-Received: from localhost ([::1]:41046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cs8LA-0006XF-3r for ged-emacs-devel@m.gmane.org; Sun, 26 Mar 2017 09:36:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cs8Ky-0006XA-WA for emacs-devel@gnu.org; Sun, 26 Mar 2017 09:36:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cs8Kv-0005kI-0n for emacs-devel@gnu.org; Sun, 26 Mar 2017 09:36:04 -0400 Original-Received: from mail-qk0-x235.google.com ([2607:f8b0:400d:c09::235]:32880) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cs8Ku-0005kE-Po for emacs-devel@gnu.org; Sun, 26 Mar 2017 09:36:00 -0400 Original-Received: by mail-qk0-x235.google.com with SMTP id f11so20892927qkb.0 for ; Sun, 26 Mar 2017 06:36:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=Td/nSqU9GEfwBxyE6aDMlzBSUCzzbgS0TRyNwOTgiWs=; b=IJfJ1pxAfzxNc1Ee0qEoMJApw8yfy+5liN2PSXVbUgJfz/ZQDerxwMnrslKOd7OKJ3 LVcWx8ibtgHXH3bbjCe8/6g7lQCpYY/cv0w7V9QKTEk/y2Gr0ug4QdyJXVy9Nviv7bvZ Oa3cB3oiqzZQned3yMCrYRj5hK8Zg70U4zYQlW7K1FDDvLMFJBu7fYVZGO7xA2qjFYzq 4Ff6SVw747e+2N4pSN4ze4XMwgsfy5M9zJnbvx0ayZD3vV8lPOpLGmLatRwJeGgbx8va QoZBJTn1+SafCSRHYnzTHKm+N2+PH3iogPNmH7EpaxwCEZ+6ojB4hrDPdcsZ+lAEVcjC wsog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Td/nSqU9GEfwBxyE6aDMlzBSUCzzbgS0TRyNwOTgiWs=; b=q2/YywrOegZqYxpqoGXmdMIVoz0tGcAek3Hqn4tVHac770Qz2C7EmmED+/51ber4Vx 4S8jmjLmf4JUjxlEDaOVa4fXmmsOOR/y2LKeOw4wS+OnfwPkvxd8ZLO3tp4Ixi3aaBQY z6uF0kAjiehzJEwgeQWMh6GdAitDntE191gjSeveHzqSUkVncgmvyyIKy8lTaTq+5JMy CtOVpNk+D4dJA5kTBKXihEmg5ZVhcL1olvm9GSNJrKS4J9MZnGvqMNg/Coc29/Y7tKWD akSVDhUJ+4q52Jydygr2hmoAC0qG5Sh/ROOkkdCbZnrJN48KUp10yx8kzSra4qM9aD/x VlWg== X-Gm-Message-State: AFeK/H2us+JaS1s2dt5RDlELthKV9sv8p5yvzkFwIOhPvxRs72WvdaeUjk4oHcqXr/MZQA== X-Received: by 10.55.217.24 with SMTP id u24mr9774627qki.34.1490535359932; Sun, 26 Mar 2017 06:35:59 -0700 (PDT) Original-Received: from [18.189.26.125] (dhcp-18-189-26-125.dyn.MIT.EDU. [18.189.26.125]) by smtp.gmail.com with ESMTPSA id r60sm5837812qtd.53.2017.03.26.06.35.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Mar 2017 06:35:59 -0700 (PDT) In-Reply-To: <86lgrs5ge9.fsf@stephe-leake.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213360 Archived-At: On 2017-03-26 09:14, Stephen Leake wrote: > One thing to check; are you using a pipe or a pty? To use a pipe, do: > > (let ((process-connection-type nil)) > (start-process ...)) Thanks! That's already what the snippet that I posted does :)