apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Spinetti <m.spine...@pisa.iol.it>
Subject [Fwd: apr_hash]
Date Mon, 31 May 2004 07:35:56 GMT
Any advice about my email?

What can you tell me about apr_hash?

--Marco

-------- Original Message --------
Subject: 	apr_hash
Date: 	Fri, 28 May 2004 16:48:33 +0200
From: 	Marco Spinetti <m.spinetti@pisa.iol.it>
To: 	dev-apr <dev@apr.apache.org>



Hi all,

I have to read a file with 50000 keywords at startup of my programm.
Then when the user inserts a input, I have to see if any keys of user 
input is one of my initial keywords.
I'd like to use apr_hash to load my keywords at startup, then I split my 
user input in wi words and use apr_hash_get to see if any words is in 
the hash.
Is it an efficient method?
Do you know some more efficient method?
Can you give me some advice?


Thanks


--Marco





-- 
+-----------------------------------------+
Software Engineer - Spinetti Marco
Italia OnLine S.r.l. - Gruppo Enel S.p.A.
Mobile: +39 329 4424216
Fisso : +39 050 6184264
Fax   : +39 050 6184244
E-mail: m.spinetti@pisa.iol.it
+-----------------------------------------+



Mime
View raw message