From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: New package: resist! Date: Sun, 12 Dec 2021 03:11:29 +0100 Message-ID: <871r2iy3la.fsf@web.de> References: <55DBCF16-5B54-4306-82F9-386A0AEC820F@mit.edu> <877dcay4g7.fsf@web.de> <4289582.s7kgry8n0C@galex-713.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14845"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:LSrJrGA9efTtCKUXVTTIVLv5oTs= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 12 03:12:22 2021 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 1mwELe-0003et-BO for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 03:12:22 +0100 Original-Received: from localhost ([::1]:49256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwELc-0005fd-Sd for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Dec 2021 21:12:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwEKx-0004zx-4S for emacs-devel@gnu.org; Sat, 11 Dec 2021 21:11:39 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:60124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwEKv-0007Li-BQ for emacs-devel@gnu.org; Sat, 11 Dec 2021 21:11:38 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mwEKt-0002sp-4U for emacs-devel@gnu.org; Sun, 12 Dec 2021 03:11:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:281724 Archived-At: Alexandre Garreau writes: > Yes, you need to traverse the list, but to print a list you traverse it > anyway. The idea of an “extensible print” is that during that recursive > traversing that print already does, if it encounters a “object that it > doesn’t know how to print”, we teach it to use a function that knows how > to print it in a such way that it can be read again. This is what eieio-persistent does and what makes it slow. What would your package would have to offer then? Michael.