From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: make-hash-table :size Date: 23 Aug 2004 20:36:42 GMT Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1093293650 32362 80.91.224.253 (23 Aug 2004 20:40:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Aug 2004 20:40:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 23 22:40:40 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BzLcO-0003Uc-00 for ; Mon, 23 Aug 2004 22:40:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BzLgr-0004cv-JD for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Aug 2004 16:45:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: news.uni-berlin.de vb/q6o5L79d74z8HXVr/DgVPeOFaac5eVNkLR+KuSN5orp4NQn Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/0.9.8.0 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:124886 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20235 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20235 hi all, i'm writing a program in emacs that makes rather extensive use of small hash tables, about a dozen elemens or so. i'm going over my code again, to see if i can improve things here and there, and i suddenly realise that MAKE-HASH-TABLE takes a :size argument. so i start wondering, will i gain anything by defining my hash tables with (make-hash-table :size 15)? does it save memory, will it speed things up? or is it really moot whether i specify a size of 15 or let emacs just use the default size of 65? i've tried to find some discussion of this issue on the net, but google didn't reveal much. TIA -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)