You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Marco Spinetti <m....@pisa.iol.it> on 2004/05/31 09:35:56 UTC

[Fwd: apr_hash]

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....@pisa.iol.it>
To: 	dev-apr <de...@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
+-----------------------------------------+