[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Algorithm

Hi Kalidas

Try using gperf. Its a hash function generator.
It takes a file with a structure definition and a list of ("String", value) pairs and generates C function to find the values using the string as an index.

That is, it creates an associative array. I have tried it in an 8085 assembler project and it works. Check out the man page.

Sridhar Ranganathan

From: Balakrishnan Kalidas <kalidasbala@xxxxxxxxx>
Reply-To: linux-india-programmers@xxxxxxxxxxxxxxxxxxxxx
To: linux-india-programmers@xxxxxxxxxxxxxxxxxxxxx
Subject: [LIP] Algorithm
Date: Fri, 27 Oct 2000 05:56:55 -0700 (PDT)

 Does anybody know how to generate an unique ID for a
given 255 char(max) string. I need it urgently for my

Thanx in advance.

Kalidas Balakrishnan

Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.

The mailing list archives are available at

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.