On 2004-10-08 18:19 +0200, Eric Deveaud wrote:
> On Fri, 8 Oct 2004, Andre Majorel wrote:
> 
> > On 2004-10-08 17:00 +0200, Eric Deveaud wrote:
> >
> > > is there any of you that have a good C hashing function for the games
> > > names
> >
> > Not for game names specifically but if I were you, I'd start by
> > looking at what Perl uses.
> 
> I'm lurking the perl and python hash code..
> but I wanted a dedicated hash func, in order to minimize the collision
> and space occupancy.
> more precisely I just want to has the parent names

If you still haven't found what you're looking for, try a web
search for "perfect hash". Some software to generate perfect hash
functions :

  http://www.amk.ca/python/code/perfect-hash
  http://www.gnu.org/software/gperf/

-- 
André Majorel <[EMAIL PROTECTED]>
http://www.teaser.fr/~amajorel/

_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to