From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36524 Path: main.gmane.org!not-for-mail From: Christoph Conrad Newsgroups: gmane.emacs.gnus.general Subject: Idea: Use of gethash/puthash for GNU Emacs 21? Date: 31 May 2001 09:10:48 +0200 Organization: Church of GNU Emacs Message-ID: Reply-To: Christoph Conrad , cc@cli.de NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172095 9049 80.91.224.250 (21 Oct 2002 03:48:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:48:15 +0000 (UTC) Cc: cc@cli.de Return-Path: Return-Path: Original-Received: (qmail 21774 invoked from network); 31 May 2001 07:13:14 -0000 Original-Received: from pec-47-191.tnt6.me2.uunet.de (HELO mutzel.brumpf.de) (149.225.47.191) by gnus.org with SMTP; 31 May 2001 07:13:14 -0000 Original-Received: (from cc@localhost) by mutzel.brumpf.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id JAA18818; Thu, 31 May 2001 09:10:49 +0200 Original-To: ding@gnus.org X-Public-Key: http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0x1B488DEA User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.103 Original-Lines: 17 Xref: main.gmane.org gmane.emacs.gnus.general:36524 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36524 Hello, Gnus uses gnus-gethash/gnus-sethash, which in fact uses obarrays (hashes). I don't know if there is a significant speedup of using native gethash/puthash in the case of big hash tables and GNU Emacs Version greater/equal 21. At least there should be a significant memory saving, as far as i remember early discussions about them. When i get time in the next days i will do some performance comparisons. Best regards, cu, -cc- -- => GNU Emacs Webring @ <= Look Ma, this man can twist his fingers as if they were made of rubber, isn't that amazing? -- Not really, he's been using emacs for years...!