From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: MPS: weak hash tables Date: Tue, 02 Jul 2024 17:17:54 +0200 Message-ID: <87cynvx1p9.fsf@gmail.com> References: <86ed8cc4un.fsf@gnu.org> <86zfqzc3ky.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14629"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Gerd =?utf-8?Q?M=C3=B6llmann?= , emacs-devel@gnu.org To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 02 17:18:51 2024 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 1sOfHO-0003ad-2p for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Jul 2024 17:18:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOfGc-00079P-Mr; Tue, 02 Jul 2024 11:18:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOfGa-00075j-4L for emacs-devel@gnu.org; Tue, 02 Jul 2024 11:18:01 -0400 Original-Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOfGY-0000cH-Kk; Tue, 02 Jul 2024 11:17:59 -0400 Original-Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-42567ddf099so30629985e9.3; Tue, 02 Jul 2024 08:17:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719933476; x=1720538276; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=XZrRSJjiUBw+ZK4rwg2gXjaXgS5trbEe0mm56fSYwo4=; b=BQboranE7ym3faCvUiJgj6iIImEq3RxDCczpXQseHk3bPFhH3ESqetse3TbKt0f4FF /7ja2HxWYoREzxCKN9cqlOYjAnZVVpN6y1WcRBpzWFJIQ9ahovb1lhto9JAFEnH8j2HK S48f4BFvX/blnZFAzqTUfVSVYFHoWJfR3A2Hc5UfmOKhijgKKVWfPmQK7zYZlDKqc0Gn +ovxc8WGzRfW30Vl4IsiuYQSXPeoYuLljj9M1O0/VwKGezrjKgZ4nuP1HvEvvhORvCE+ waz3qhiD162xdzRsIuuFhc8fYrNzZm71f8WLaAAC19ym6aByOJ2IyT52g66wSMs8Xz0A B8iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719933476; x=1720538276; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XZrRSJjiUBw+ZK4rwg2gXjaXgS5trbEe0mm56fSYwo4=; b=t5NWwlfJ1k6Dnztcm+IcSK8wgQRhn1uytY6nkmIUf/JlxWW/yLplOBl6GNT2vyc8lD bIBtMprRw8wRzOC4T/fH3UxczWtdFTCwdl0LHdr92y7R1H7s/nAFM3oR2QpA8zYJZi5x XQF3KvR78LXMqP5PDV/IZElNnMf+CHP7Ktcq4qw3KQmzoqrkPpNJtxPI/BX9jIa+4Y6d Kio3in84wAWnBj8D4IwhMzvKrdkxIWWZ8IizhODxNgxy9t4he9CEgfiBQ0xLdgPBea0x MTlDMIy0/laF5+KYLe8gtLqloBEn5CDbT6gM4jWUYv0w2Bu2+8AHNECDM7dqUmAB5n9E S/bw== X-Forwarded-Encrypted: i=1; AJvYcCUzlyMtFwPomV8qVaNtVBqDkoAD0sHcjBwZKOjlhw8wMt9eXwJrkBXT/3evNjpeBoafkLdJhzPgVieIww9/F6ZRH+Yt X-Gm-Message-State: AOJu0Yzn8WhmIVJl6dJn1YSjXKUscGv9ivT5M1cjrYRv8zsozMkHOnzx 1yM6EFY7Na9ba5+jlY6ttt/50m1wHRgQHPOZOl23eeswpomcpgLT+a9jcg== X-Google-Smtp-Source: AGHT+IH5mGxJvWnNU+WL+JNtApcdyN2reU9osLZ95HlocynCE1cY0obkGGyA/bJrrKWAunF3XslTKA== X-Received: by 2002:a05:600c:2157:b0:425:5eff:7182 with SMTP id 5b1f17b1804b1-4257a02ce71mr62571235e9.31.1719933475840; Tue, 02 Jul 2024 08:17:55 -0700 (PDT) Original-Received: from caladan (dial-187254.pool.broadband44.net. [212.46.187.254]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4256af54ecasm199329715e9.12.2024.07.02.08.17.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jul 2024 08:17:55 -0700 (PDT) In-Reply-To: (Pip Cet's message of "Tue, 02 Jul 2024 15:03:44 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=eller.helmut@gmail.com; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321173 Archived-At: On Tue, Jul 02 2024, Pip Cet wrote: > Any advice would be appreciated. You could store a reference as two cells: the untagged pointer in the first and the tag encoded as fixnum in the second. Or pack the tag into one of the parallel arrays.