From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.lisp.guile.user Subject: Re: Does anyone have a better scm_string_hash Date: Mon, 17 Nov 2003 09:58:31 -0500 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: References: <1069075939.1645.66.camel@localhost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1069081392 4600 80.91.224.253 (17 Nov 2003 15:03:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2003 15:03:12 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Nov 17 16:03:07 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ALkuB-0004Et-00 for ; Mon, 17 Nov 2003 16:03:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ALlrS-0001dm-Tx for guile-user@m.gmane.org; Mon, 17 Nov 2003 11:04:22 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ALlqV-0001Sf-UY for guile-user@gnu.org; Mon, 17 Nov 2003 11:03:23 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ALlnj-0007te-7P for guile-user@gnu.org; Mon, 17 Nov 2003 11:01:02 -0500 Original-Received: from [129.22.104.63] (helo=harris.CNS.CWRU.Edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ALlnc-0006tc-A4 for guile-user@gnu.org; Mon, 17 Nov 2003 11:00:24 -0500 Original-Received: from conversion-daemon.smtp-a.cwru.edu by smtp-a.cwru.edu (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) id <0HOI00C0148W3L@smtp-a.cwru.edu> for guile-user@gnu.org; Mon, 17 Nov 2003 09:58:32 -0500 (EST) Original-Received: from multivac.cwru.edu (multivac.ITS.CWRU.Edu [129.22.114.26]) by smtp-a.cwru.edu (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with SMTP id <0HOI007GC49KC8@smtp-a.cwru.edu> for guile-user@gnu.org; Mon, 17 Nov 2003 09:58:32 -0500 (EST) Original-Received: (qmail 22044 invoked by uid 500); Mon, 17 Nov 2003 14:58:54 +0000 In-reply-to: <1069075939.1645.66.camel@localhost> Original-To: Roland Orre Mail-followup-to: Roland Orre , guile-user@gnu.org Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Original-Lines: 9 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:2397 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2397 Roland Orre wrote: > No you are right, but it felt better just to avoid numerical overflow, > but... I don't remember if that's an issue for integers. Calculations with unsigned long and unsigned int are automatically done modulo *_MAX+1; overflow is guaranteed to produce wraparound. paul _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user