From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: master 5141234acf: Refactor the webp cache code to allow usage by gif_load, too Date: Mon, 11 Apr 2022 20:56:27 +0800 Message-ID: <874k2z3hj8.fsf@yahoo.com> References: <164967696186.12152.11548736665906939483@vcs2.savannah.gnu.org> <20220411113602.7A114C0581E@vcs2.savannah.gnu.org> <87bkx73jfz.fsf@yahoo.com> <878rsbbxi0.fsf@gnus.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="15532"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 11 15:00:19 2022 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 1ndteV-0003qJ-1T for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Apr 2022 15:00:19 +0200 Original-Received: from localhost ([::1]:36938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndteR-00020L-Kl for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Apr 2022 09:00:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndtb3-0006PS-W3 for emacs-devel@gnu.org; Mon, 11 Apr 2022 08:56:49 -0400 Original-Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]:42255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndtaz-0002YX-Hw for emacs-devel@gnu.org; Mon, 11 Apr 2022 08:56:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649681796; bh=dHHcwXHk9OLaV+FHyy1NgUQFU8zF96SBqSw2xsChkyM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Etpm7jtDLkpmPIxe5u023NGlc5hubVWUiuQDrLHKyRs8P5+7mk9Nm9zqkDz9l+WLxcn7CLswOPDA1/Fan3Mo59TlKtirKIH3ilPJ0ycEijZnMiQLR821Wm4FN+do6w3IGlQje9BPIMp/fygFIRwPtztJC4yLJh40XnHbXNINfhJL2QcrBT4oldUwXagTW+qM7dr7v6Wr3q9C1XtBmfrwnR4Sa2DNnb8bd1J5VQs/IX7cgcMbJOXc2zBHV78Rl3jzUnbfv8+Iw+m0jQARX+aD8FlAw5WALSsTRvyPSD9U9FzJXR5Mg8iMstYAK847/ior3Ci2qjbwoKHfO3yOSsuz7g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649681796; bh=IGbhpX7Kf/9cWCxApDMTNOFER4Im1qtAHtvtRrMH4b9=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=F8Ev8vSK/fE+UHhIMjAnEzThpAjqIne1JO4GX2S6a/t5cfPqo53jwD8yD7/sJUeyNGlVa8x3G41oUSTLjaYYZhDJ6Iifq29b6u8VGfcC1aQwwFCkysM0jwjjseNpRjYuTEusmcegXmfFJj47ZmLZ8+MpHGXWDCClkT73YL+xUPLNWFaF1XXxjH6nNXfe8OY78FIgqf5l/XzlPcsbPG4F4zQKKqB/fTRSxJ7yvpz2Tg8Lewyqm4BzxWPRo7sD992q9XOnYmmnfc6anfvVlb/D7TVMrow19WSisD3XE/Ht2D+dCVACznKD5BUrWANTFaErm21uNoQVzWwU8mbrA8yd+g== X-YMail-OSG: zqHqqX4VM1mTjUDufEt1j.T.aes5ovX1.N_4DLWdjQ1N9FhUcIjM9Nr1SjGqosk BUDIY0IZRd2WRzTD9_7FPtt3DxoV0wOXDqfW89FMvdT9J6_J0StWTREoPLiXwPcPsfh01JXxy3cf wz32HuAPO2GNQQq28Uc2xJT6kpk4t1.bSGkVuD_XzRjSBhPxAolijLir6qeQJl.90hEyIUMoj3x2 uHIjKoLL8T0WubN26Mf_qhqdGslbIem.IYB5cnCfP1eAVhPNBVfoL2fzAU4Gdz_g2db_re5A_epE Cc2H0bNxVXh4gAP7FLBV7ht.qgCgeaeosa0V2u_K8aEvPOsyWaiFjbEM5uv.Nkn4nkcmWd1ScTrH xg84sCzz8Dn267q0HpS8zNWZw42Zld_J6PX4UB17xJaycv7PwqlCWrgtSYNe_u0IrxETRYjTXxPI K5oPcJFyodgX8SENf852.V6LUoKy5JGZgK2N7GRGtRA6JCpd6yJUCx2MjeXGqN3chP43.6bAqnTf w5L21aQUh.EbUiKEPTrRCZiXUIqyhTGYr4OidVLYTg5aauh3D0YeXqbXuuUQO2O7MhrW2xugWroQ 4U8n7PuI8gsCZbYVTsts9O0rZuD8ngCynevMXTa8AUYxYlW8xru4V7HvcGrfIeNwEGJYjBrg.Tuv aFCHeefny_zIvpoMx9FGU2Gu9WRfcFNyB8Klteq1NUzHbGxlxRgwrl.IIiAbfExqPkn0EU41s213 TjjQkVcFxBzObxMwlEwu_52G3LYbWAZXsi35aF7GWD.Fe1ccNdaM7Dl73484bSIYNweNGaULeAj. qDFbdCntGUhn_Tfa.Anw5o3JT9ABGUPW3W00Oni2bJ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Mon, 11 Apr 2022 12:56:36 +0000 Original-Received: by hermes--canary-production-sg3-65d7bd97b5-5v4hr (VZM Hermes SMTP Server) with ESMTPA ID d84fe177fb66eeab669bd433cad309d1; Mon, 11 Apr 2022 12:56:31 +0000 (UTC) In-Reply-To: <878rsbbxi0.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 11 Apr 2022 14:44:23 +0200") X-Mailer: WebService/1.1.20048 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.31; envelope-from=luangruo@yahoo.com; helo=sonic307-56.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.devel:288183 Archived-At: Lars Ingebrigtsen writes: > I suspect so, but as the comment on the previous line says, I wasn't > quite sure. We're only using it to test for EQ-ness... but I guess > that will break if we're using the complex Lisp object type. The object might be garbage collected, and another one could be consed with the same type tag and address as the original. So we should probably mark that data upon garbage collection.