chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Hash table mystery


From: Zbigniew
Subject: Re: [Chicken-users] Hash table mystery
Date: Thu, 24 Jan 2008 13:22:19 -0600

Looks like I forgot to reply to the list.

Removing the 500 fixed the problem.  But it doesn't explain why it
works on the one machine.  Peter Bex confirmed the error correctly
occurs on multiple platforms (including x86-64 and sparc64).  If this
bothers you, I would try cleaning all remnants of Chicken off your
disk and reinstalling, possibly a newer version.

On Jan 24, 2008 1:04 PM, Jean-Philippe Theberge
<address@hidden> wrote:
> Zbigniew wrote:
> > Because (make-hash-table 500) is not valid.  The format is
> > (make-hash-table pred? hashfunc size) where all arguments are
> > optional.   E.g., (make-hash-table string=?).
> >
> > You should probably not be using the size argument anyway.   500 is
> > not prime, and the default size is already 307.
> >
> > As for why this works on your non-server, unless something is deeply
> > broken, I can only guess you're accidentally using different code.

> Thanks alot! removing the 500 fix it.
> But I can assure you it it the exact same code on both the x86-64 and
> x86 machines.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]