Re: how to optimize a string search

2003-11-10 Thread R. Joseph Newton
Ramprasad A Padmanabhan wrote: > I know this is more of an algorithm question but please bear with me. > > In my program I am checking wether a emailid exists in a list > I have in the complete_list a string like > $complete_string="<[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ...

Re: how to optimize a string search

2003-11-06 Thread John W. Krahn
Ramprasad A Padmanabhan wrote: > > I know this is more of an algorithm question but please bear with me. > > In my program I am checking wether a emailid exists in a list > I have in the complete_list a string like > $complete_string="<[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ..

Re: how to optimize a string search

2003-10-27 Thread Rob Dixon
Ramprasad A Padmanabhan wrote: > > I know this is more of an algorithm question but please bear with me. > > > In my program I am checking wether a emailid exists in a list > I have in the complete_list a string like > $complete_string="<[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ..

how to optimize a string search

2003-10-27 Thread Ramprasad A Padmanabhan
I know this is more of an algorithm question but please bear with me. In my program I am checking wether a emailid exists in a list I have in the complete_list a string like $complete_string="<[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ... <[EMAIL PROTECTED]>"; # that is a string