From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: pure-fns in byte-opt.el Date: Sun, 24 Sep 2017 16:22:31 -0700 Message-ID: References: <20170725020650.GA12601@holos.localdomain> <20170726010000.GA14292@holos.localdomain> <83o9s75kus.fsf@gnu.org> <20170727023608.GA1895@holos.localdomain> <83y3r94xo5.fsf@gnu.org> <20170728002448.GA2431@holos.localdomain> <83mv7p3uy5.fsf@gnu.org> <20170729012407.GA6581@holos.localdomain> <83vamb3duz.fsf@gnu.org> <20170729163446.GA9109@holos.localdomain> <83a83n2m7r.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1506311682 22549 195.159.176.226 (25 Sep 2017 03:54:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 25 Sep 2017 03:54:42 +0000 (UTC) User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/26.0 (darwin) Cc: Mark Oteiza , Eli Zaretskii , emacs-devel@gnu.org To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 25 05:54:36 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 1dwKTa-0005O1-Lh for ged-emacs-devel@m.gmane.org; Mon, 25 Sep 2017 05:54:34 +0200 Original-Received: from localhost ([::1]:40554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwKTg-0007aT-DO for ged-emacs-devel@m.gmane.org; Sun, 24 Sep 2017 23:54:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwKSr-0007a9-Pn for emacs-devel@gnu.org; Sun, 24 Sep 2017 23:53:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwKSr-0004Hl-2e for emacs-devel@gnu.org; Sun, 24 Sep 2017 23:53:49 -0400 Original-Received: from mail-pg0-x236.google.com ([2607:f8b0:400e:c05::236]:44934) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwKSn-0004GR-80; Sun, 24 Sep 2017 23:53:45 -0400 Original-Received: by mail-pg0-x236.google.com with SMTP id j16so3307208pga.1; Sun, 24 Sep 2017 20:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=yU5pUcag0NWfGWlmDwul9SaFQaSGm4+/RYEga/j2q2g=; b=iLAk25On2PCpHmlfAHttz49rwZwvtAi0bfSgbKS/wBmRNkFnbQeUdeHNwITqBgFgM/ QWHLw+Lo+U76KvvH4qq6h9Uby65BYtSmnK/hzUQ5wuEpULMD5ut6jxL6Fu0t14Mwxsja y1UVeVNv+GuSt5q5OaFrykHQL5D+EHvAQe3FZazxjx6o1Q9HAob3DqQUlnPYPRDDswHE OeQBlkSgAEnPbokYk+lR9MxZNsHAeeT+++mQfPDJ+ydHGZeEfCMyRQy2FzjLH4h3YUz7 GeXZLMLDqmtOGsdPoPZuWdAm2ai3yHgZIAVmea9Q1QcVVMdnf5SqQsWg+zWcc473ZWMV TUIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=yU5pUcag0NWfGWlmDwul9SaFQaSGm4+/RYEga/j2q2g=; b=ZHep537PVwa5sDDDXRlbdtuxv2oTlCvh23Dtx0i4zExLSt2DnPzyF3gfHGxMlORa7c AHyyGhwom5b1D3V8D888AVmayOpTJE898RkvCMSTRfsmBmcIJF+ZXDapejVzOWa9W/r8 5kzl6ChIVW7b3A5RHhXprwRKipCCNQjnLpxiJ6myNebiJR5aDbBfbNsXMhSFa7IgU0yr I33KdyG+LAK2PO0+G6KXZmCtYr4i85/2Q9qAu2dW6x5Jv5TnF6c+bvPK0eldSNOgzjLC 9Sz5c+XJbTXFrQSrLBGMCWYfd7gobWqBaOnzbFR9d4BPTVtC7OR5FH5YhM1uvWTirvwn 51EQ== X-Gm-Message-State: AHPjjUgA0g1a3Zq+5S0A5ZroKPHywgX21vmyJ+EjNT098HaofJ/yV+2e 7VNdWlULi8u68fquzspXMxk= X-Google-Smtp-Source: AOwi7QDtQXNiNBrs6ke1zUa1KwIEHsBSmLrsoGROjf0l+4oT9ryTtJvUbD26CzIRVOXOHE+wnE5Osg== X-Received: by 10.101.88.203 with SMTP id e11mr6184462pgu.95.1506311624252; Sun, 24 Sep 2017 20:53:44 -0700 (PDT) Original-Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id u66sm8960024pfd.33.2017.09.24.20.53.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Sep 2017 20:53:41 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 5A566906828D; Sun, 24 Sep 2017 16:24:53 -0700 (PDT) In-Reply-To: (Philipp Stephani's message of "Sun, 24 Sep 2017 07:34:27 +0000") Mail-Followup-To: Philipp Stephani , Eli Zaretskii , Mark Oteiza , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::236 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:218763 Archived-At: >>>>> "PS" == Philipp Stephani writes: PS> That sounds like a bug. Optimization shouldn't change semantics. Either we PS> need to change the definition of "pure" to something far more restrictive, PS> or we should fix the optimizer. Agreed, optimization should mean only making things faster or more efficient, not ever changing the answer or the behavior. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2