[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.


Regards
Sridhar Ranganathan
Madras

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)

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

Thanx in advance.

Kalidas Balakrishnan


__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

---------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIP

_________________________________________________________________________
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.