From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Philippe Schnoebelen Newsgroups: gmane.emacs.devel Subject: Re: What's the specification for sxhash? Date: Thu, 6 Jun 2019 17:04:57 +0200 Message-ID: <46cd01aa-e691-b147-87fa-76878b235f67@gmail.com> References: <20b88c13-e045-5079-f1de-8f16eaf80d30@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="170613"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 06 17:05:39 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYtxS-000iDh-IS for ged-emacs-devel@m.gmane.org; Thu, 06 Jun 2019 17:05:38 +0200 Original-Received: from localhost ([127.0.0.1]:33658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYtxQ-00085h-9R for ged-emacs-devel@m.gmane.org; Thu, 06 Jun 2019 11:05:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYtxK-00085N-4H for emacs-devel@gnu.org; Thu, 06 Jun 2019 11:05:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYtx7-0001zC-Kd for emacs-devel@gnu.org; Thu, 06 Jun 2019 11:05:23 -0400 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:34348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYtwy-0001cP-7Y for emacs-devel@gnu.org; Thu, 06 Jun 2019 11:05:09 -0400 Original-Received: by mail-wr1-x42c.google.com with SMTP id e16so2818304wrn.1 for ; Thu, 06 Jun 2019 08:05:01 -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:content-language; bh=0r1Zj6FoVfUXT0Xu/i0b8M0PXQmbFALzInbY7hV00ws=; b=GJXrpp622HouidemWQ7rlfLQgJY/bvwzPJpBLe0u0TpwVFH+QamtijFW5DcdoocizJ iKauMUNVZALD5nGV/qAuwTFB3nLZofuv2L6hFy5qLrZYre7/X+a8CWTRHQL6L96v641j zwe5yzlN2wPPGCJZoddMz7UspkQI9Xfr5eAwMYY38LvbkSAoZhB9ND6el3fHIJ93Nemr tt7AYPlBg1cLr19yG3mOmB8Ht9IWkbluI43rt4amL02nckzGMh68BoHKL7mF64nrIlsA XFALI8AbYcaw6/bYHjkIAVkWHIojbvQUkNy2VpW9Smb24OI3p38+jgVg2xz5m8QTGQ/z p42A== 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 :content-language; bh=0r1Zj6FoVfUXT0Xu/i0b8M0PXQmbFALzInbY7hV00ws=; b=PtUa7zzbduqyLvR2o/LAqEBeQZlENq3N+8+ahLq3PIMKauxXEI+Fejb8ElS/KuUbVw OJZaoG0yZKqcsjynMDUfR3ZLmyM20wXoNGrO0wdUHRhdrJ664HK0g/Px8ZSGzSMWFtoE ilFp730zl0eNZrD26ttgXyC57iYldKEtKaZtf02hoWTTf+/0CAWYddVToUxuaYJehcZp tJbLBWYqxiqrl7fvJP3w7MhBJXfj6T8Ao25urqPG/zlWMXK8bIe+dS3GELEw7V+By5KU bWfJXbN/XZV2oen3Zaldbe9zD1MPApO8OAFEL5Ssr2bNAP4mlqSA37vo8V8FGRXRdPVF oeTA== X-Gm-Message-State: APjAAAWOWoED3RTeQiL6fX30fHBat23740Hpro8IOp1bnkz2keYt9KQX vOhRoDAf67S9gms0XPT5PHk3dKE5 X-Google-Smtp-Source: APXvYqwubk4PvCbF4blGx1cxzLrCSMcu6jHwv/Cn62cCK7gnIz2ST4Bx1NFKJUvTVqcH9VY/3yP4gA== X-Received: by 2002:adf:aa09:: with SMTP id p9mr9139368wrd.59.1559833499351; Thu, 06 Jun 2019 08:04:59 -0700 (PDT) Original-Received: from brol.lsv.fr (brol.lsv.fr. [138.231.81.57]) by smtp.gmail.com with ESMTPSA id r9sm2322637wrq.0.2019.06.06.08.04.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jun 2019 08:04:58 -0700 (PDT) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c 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:237289 Archived-At: On 2019/06/06 16:45, Andreas Schwab wrote: > For some types the hash uses the address of the object, so it is likely > to differ even between runs of the same binary. What types? Just curious here. I've not noticed any change in hash values until I changed my Emacs version so it must be exotic types that I don't use.. In fact it must be the types of objects that are only equal when they are eq, otherwise the spec for sxhash-equal would not be respected. --philippe