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 image cache Date: Sun, 05 May 2024 10:16:39 +0200 Message-ID: <87zft4ptaw.fsf@gmail.com> References: <875xvvp3fo.fsf@gmail.com> <87o79n0wna.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38372"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Emacs Devel To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 05 10:17:14 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 1s3X3Z-0009oB-NO for ged-emacs-devel@m.gmane-mx.org; Sun, 05 May 2024 10:17:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3X39-0005VR-Gi; Sun, 05 May 2024 04:16:47 -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 1s3X37-0005VD-P5 for emacs-devel@gnu.org; Sun, 05 May 2024 04:16:45 -0400 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3X36-0002rI-8d; Sun, 05 May 2024 04:16:45 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a59a0168c75so215508466b.1; Sun, 05 May 2024 01:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714897000; x=1715501800; darn=gnu.org; h=content-transfer-encoding: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=fTJtmYD42Xlf0oTyKtphrZTSZSXMOkY1UtSsTPyKeeQ=; b=VLkBno6iNnnG/yXV8vkQjcN26uzKUNB2A1uW4Mwxz49V3IwZKVgLDcx5iGe4SFmzuQ fCYt43vgST61MXlBJqfZUwJhOHJsWHAOQmNmjyUbSCIn0UfF3WJQxr7kvv+bpiCbxUCd jdwVP+LO8UvdkL+VOExChC0bij+fbeiAcA10XLSVUaL4ZDDVBU4Ip7zPUKbU7BU/3UwN t8+Wk+rsYGSrPg6SG7h7oJkWbw145tR1hJgDyK7f8P1hjB+SLwXFPDHGUGF0y0HDAiH2 K9ZuFAQf65cDd1+qjADtTh3m7+hwrzvYAwt+UtVEg4e4KBq01dkkSQsXD+XigqsKR8S4 HjVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714897000; x=1715501800; h=content-transfer-encoding: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=fTJtmYD42Xlf0oTyKtphrZTSZSXMOkY1UtSsTPyKeeQ=; b=NOT/yFbWkPb89qHZ49n8H63dLRU7eNTddF9cQscQ7QvJiz6FoB5sgiIpP3qUcdWDlh O1PKPoDjB9Tpmtn387cNnVs+aOX4CY+0LyLHTMKrGIIf2zmiLsg5e5bmPlGs64gUCubG sUT2G6ShFc4rBCuLfBVB13J0eifvsWDF31F6mAzTWqsdJUhYkueievdBBrJisfRbi5U6 j5fQv5EmIoNoDUqg7vrO6QLTvWsqzfcg8n+ZztUIAnXuwcdvqRL7WoDa/kDImBbPBF+9 xqG6NfKzFm3Hc+7vFczXYnrUoKCrUVqgGicWI/a066Ce2VWA0oGV4HcXQ+oYQti8FALp GIPg== X-Forwarded-Encrypted: i=1; AJvYcCUPT4DXz90EhS++dqGUWep4UZwc3OmVkEd+KMf1Ob0MxhM/u3EyJpL771W5J+oS1/gmTPei8Bc5C6AE/X75PrtK4nsR X-Gm-Message-State: AOJu0YwM/o+HoI8fg0q5ujOvkfZTFjt0XE+5+Ge7ueOPKC1T4GVBb4yv S5M9fWDJg+/+oeodCslVTmPTrrDpy39tkJk1GrbUXXjM9wDS0Y0r+2cTSw== X-Google-Smtp-Source: AGHT+IFIoAN/IBUGuyyvW6LPpAPwvhdNNqFmOeXnLjCmz+++Shz6xBajlmHLl3yleBc9f9mE2WCZjA== X-Received: by 2002:a17:907:6d10:b0:a59:bc9d:a0ab with SMTP id sa16-20020a1709076d1000b00a59bc9da0abmr1079440ejc.72.1714896999840; Sun, 05 May 2024 01:16:39 -0700 (PDT) Original-Received: from caladan (dial-184253.pool.broadband44.net. [212.46.184.253]) by smtp.gmail.com with ESMTPSA id rs13-20020a170907036d00b00a598907ed15sm3038817ejb.196.2024.05.05.01.16.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 01:16:39 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Sun, 05 May 2024 08:45:32 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=eller.helmut@gmail.com; helo=mail-ej1-x634.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:318792 Archived-At: On Sun, May 05 2024, Gerd M=C3=B6llmann wrote: > I'm plannign to do the following if nobody stops me: > > Both face an image cache are hash tables containing 2 arrays of pointers > to MPS objects (face, image). > > I want to introduce a new MPS object type representing such an array of > pointers, IGC_OBJ_PTR_VEC. The igc_header gives us the size of the > array, and being an MPS object, we get exclusive access to its contents. > > WDYT Would something like this also be needed for glyph matrices? Or in general, can we scan anything other than the block that dflt_scan was called with? Is these related to "remote references" in the MPS manual, which I don't quite understand what they mean.