From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83245 Path: news.gmane.org!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.gnus.general Subject: Re: XEmacs hash table representation (was XEmacs builds failing - gnus-spec.el) Date: Sun, 02 Jun 2013 09:22:34 -0700 Message-ID: <3108.1370190154@rawbw.com> References: <87hahgzy50.fsf@randomsample.de> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1370190262 14649 80.91.229.3 (2 Jun 2013 16:24:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Jun 2013 16:24:22 +0000 (UTC) Cc: ding@gnus.org To: David Engster Original-X-From: ding-owner+M31511@lists.math.uh.edu Sun Jun 02 18:24:21 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UjB4s-0007f1-6U for ding-account@gmane.org; Sun, 02 Jun 2013 18:24:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1UjB3N-0005Dj-2o; Sun, 02 Jun 2013 11:22:45 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1UjB3L-0005DR-8S for ding@lists.math.uh.edu; Sun, 02 Jun 2013 11:22:43 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1UjB3J-00087X-Lr for ding@lists.math.uh.edu; Sun, 02 Jun 2013 11:22:42 -0500 Original-Received: from shell0.rawbw.com ([198.144.192.45] ident=root) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UjB3H-000859-Nq for ding@gnus.org; Sun, 02 Jun 2013 18:22:39 +0200 Original-Received: from rawbw.com (m208-249.dsl.rawbw.com [198.144.208.249]) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id r52GMYRD008480; Sun, 2 Jun 2013 09:22:35 -0700 (PDT) (envelope-from mike.kupfer@xemacs.org) In-Reply-To: Your message of "Sun, 02 Jun 2013 10:59:23 +0200." <87hahgzy50.fsf@randomsample.de> X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.3.1 X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83245 Archived-At: David Engster wrote: > It's not about the hash table metadata but about speed. Before Ted > rewrote the code, the registry used to do a conversion to/from an alist, > and I remember that writing/reading the registry this way was annoyingly > slow, at least on slow machines in combination with big registries (mine > has about 100.000 entries). Ah, okay. Thanks for the clarification. > Of course, one could still do that specially for XEmacs. I guess all it > takes is to define a proper ':printer' slot for the registry > object. For the sake of interoperability, I think that it'd be better to print the hash table for XEmacs (with print-readably set to t). I did some (very) limited testing, and it looked like the printed representations of hash tables are compatible between Emacs and XEmacs. best regards, mike