From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: =?UTF-8?Q?Re=3a_31395511=3a_=22Don=e2=80=99t_attempt_to_modify_cons?= =?UTF-8?Q?tant_strings=22?= Date: Sat, 6 Jun 2020 02:32:30 +0300 Message-ID: References: <871rmvn7ge.fsf@gmail.com> <87lfl36abx.fsf@gmail.com> <1abe5965-b48e-6dee-1516-c5c233f09d01@cs.ucla.edu> <873679lel3.fsf@gmail.com> <87d06dje3d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="60482"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cc: Paul Eggert , Pip Cet , emacs-devel To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 06 01:33:06 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 1jhLpi-000FdN-9U for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Jun 2020 01:33:06 +0200 Original-Received: from localhost ([::1]:34176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhLph-0007J6-CY for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Jun 2020 19:33:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhLpD-0006sY-3l for emacs-devel@gnu.org; Fri, 05 Jun 2020 19:32:35 -0400 Original-Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:40209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhLpC-0007Q1-69 for emacs-devel@gnu.org; Fri, 05 Jun 2020 19:32:34 -0400 Original-Received: by mail-wm1-x32e.google.com with SMTP id r15so10559604wmh.5 for ; Fri, 05 Jun 2020 16:32:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/TLuHiO6u5+ySoEW6HZ51j5ojt1iXcIFTqqu4QzsRzE=; b=C5I42nW5zx1w4K56P0k1uLLT5xzOAogQNVwoxiXFha551otkSN4L7n09Uts58y6F8q QWBm7qwHkSc9YFYvfvhw6Xp2WHNBZVndeeaXxgpF6R/S08qTLYj5WGs0qUFgOo9gnCRe SsT68dmz5CblAwiuS8a/KzlltDK1/5t5CSisBMsB3KyD5zJz8RixY5GsCTQEZb9e3rOu zYHZ8x9vir07/37dhRxVZlfYMORyiMaKRMfLPCTJ/+ugERNReSAAZUkpxDa4AURVJMvF bSz//G9cXAOU/lQu8Vf9TBdOdmY2m2SZxyGPD4uJwp5wd+h71ZGMx7d3ossQgWPitO/W Ev8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/TLuHiO6u5+ySoEW6HZ51j5ojt1iXcIFTqqu4QzsRzE=; b=Jy2kJ7ytEsoYP8negIUZYwRPzLAGRIboPGUv5V1veJ794nfFE3rht+FPeK8VkYMoxZ N3dgMGIwpoSjnw9rOqyredebeqUU7SWqWnZ2F4LmzVd0FSOu6eNp7+7ALhJdWA7o3kJg SLIolDKLONxySRaYDDLBf6TYOt1FY5QJbj1SF42mivTwVPFJGZ4FvfOvehxMcAdr+WKI 9lDeLJ8cODCs99VVXYSm+kB4gS6TQC+HAOMcTPmjjUvm96MCoRwlQo5lsCN4UKQYfG6G a9NjrC/PH91wFUR2R0aFwNMSL+Je70297/bEzbDWUBSEm4p9KMmK+hveMLIdKShQL9Ut cnJQ== X-Gm-Message-State: AOAM532aDKufSS/gB8mGiF6hnV55+vp1AnANb6JJ80FfQQLhgrouFy3n onUfg6iduuyZ7b0g7/w6nj6N3yYV X-Google-Smtp-Source: ABdhPJxxRsXfqCVJk9CuxuW23ImWhhG5Qi/82diWrjnc8YHvAhyK/wJHZUywgO0m2nxP9bUFT4BkWw== X-Received: by 2002:a05:600c:2313:: with SMTP id 19mr5156508wmo.51.1591399952268; Fri, 05 Jun 2020 16:32:32 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id y66sm13316998wmy.24.2020.06.05.16.32.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Jun 2020 16:32:31 -0700 (PDT) In-Reply-To: <87d06dje3d.fsf@gmail.com> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=raaahh@gmail.com; helo=mail-wm1-x32e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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:251922 Archived-At: On 06.06.2020 02:19, João Távora wrote: > There is indeed a relation, but that > bug (the first parts) is about modifying literal objects and this > particular strangeness seems bigger than that. Later it goes deeper than that. > But that's a far cry from having two different manifestations > of `equal` such objects_be_ the same object, but only for compiled > code. That looks suboptimal to me too. I mean, it sounds like a sound optimization (to an extent), but I really wonder if it really buys us much in practice. And we're paying the price of not exactly obvious behavior.