From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: Resizing hash tables in Guile Date: Wed, 12 Feb 2003 14:55:37 -0600 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <874r79nrqu.fsf@raven.i.defaultvalue.org> References: <87lm0o7951.fsf@alice.rotty.yi.org> <1044889242.1033.310.camel@localhost> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045083970 20998 80.91.224.249 (12 Feb 2003 21:06:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 21:06:10 +0000 (UTC) Cc: Greg Troxel Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18j3vt-0004jk-00 for ; Wed, 12 Feb 2003 21:56:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18j3wG-0002Tr-09 for guile-user@m.gmane.org; Wed, 12 Feb 2003 15:57:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18j3vT-00029O-00 for guile-user@gnu.org; Wed, 12 Feb 2003 15:56:15 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18j3vC-0001qA-00 for guile-user@gnu.org; Wed, 12 Feb 2003 15:56:00 -0500 Original-Received: from dsl093-098-016.wdc1.dsl.speakeasy.net ([66.93.98.16] helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18j3us-0001Dp-00; Wed, 12 Feb 2003 15:55:38 -0500 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 694AAF0FF; Wed, 12 Feb 2003 14:55:37 -0600 (CST) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 729A0B9F37; Wed, 12 Feb 2003 14:55:37 -0600 (CST) Original-To: djurfeldt@nada.kth.se In-Reply-To: (Mikael Djurfeldt's message of "Tue, 11 Feb 2003 14:59:05 +0100") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) Original-cc: guile-user@gnu.org Original-cc: Roland Orre Original-cc: Joris van der Hoeven Original-cc: guile-devel@gnu.org Original-cc: Andreas Rottmann Original-cc: mvo@zagadka.de X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General Guile related discussions List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:1642 gmane.lisp.guile.devel:1923 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1923 Mikael Djurfeldt writes: > I've just committed resizing hash table functionality to the Guile > core hashtable functions (in hashtab.c). > > Currently, the only thing which has changed in the API is that the > size argument to the hash table constructors is now optional. If > omitted, you get a resizing table. Looks good to me. If you have time, could you (very) briefly summarize the behavior? Mostly I mean wrt how the implementation handles resizes (i.e. when does it decide to resize, how does it pick the new size, etc.). That'd be nice to have in comments in the file so that you can get an overview without having to read the code in detail first. Thanks -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user