From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Roland Orre Newsgroups: gmane.lisp.guile.user Subject: Re: Efficiency and flexibility of hash-tables Date: 12 Feb 2003 22:58:40 +0100 Organization: Royal Institute of Technology Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <1045087119.1032.484.camel@localhost> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1045087592 4166 80.91.224.249 (12 Feb 2003 22:06:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 22:06:32 +0000 (UTC) Cc: Joris van der Hoeven 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 18j4vC-0000e0-00 for ; Wed, 12 Feb 2003 23:00:02 +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 18j4uN-0000IN-03 for guile-user@m.gmane.org; Wed, 12 Feb 2003 16:59:11 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18j4u1-0000Hw-00 for guile-user@gnu.org; Wed, 12 Feb 2003 16:58:49 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18j4u0-0000HQ-00 for guile-user@gnu.org; Wed, 12 Feb 2003 16:58:49 -0500 Original-Received: from smtp0.nada.kth.se ([130.237.222.202] helo=smtp.nada.kth.se) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18j4u0-0000HE-00 for guile-user@gnu.org; Wed, 12 Feb 2003 16:58:48 -0500 X-Authentication-Info: Sender authentication was Original-Received: from c600 (h122n2fls33o875.telia.com [217.208.54.122]) (authenticated bits=0) by smtp.nada.kth.se (8.12.1/8.12.1) with ESMTP id h1CLwcwV006989 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 12 Feb 2003 22:58:39 +0100 (MET) Original-To: Paul Jarc In-Reply-To: X-Mailer: Ximian Evolution 1.2.1 Original-cc: guile-user@gnu.org 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:1643 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1643 On Wed, 2003-02-12 at 21:47, Paul Jarc wrote: > > comparision (<) function. > > (< (hash key1 0) (hash key2 0)) > It's easy enough to modify hash.c to support this, by skipping the > modulo operation. (It'd be a good idea anyway, since currently (in > 1.6.3) guile crashes.) That was smart ! OK, you can not utilize the order of the tree in any way for extraction traversing, but that is not important in this case. Strange, I get "Floating point exception" when hashing with a zero key. I would expect another error from an integer operation. Best regards Roland _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user