fast pythonic algorithm question

Guyon Morée guyon.moree at gmail.com
Tue Aug 1 11:02:01 EDT 2006


Memory is no problem. It just needs to be as fast as possible, if
that's what this is, fine.

If not, I'd like to find out what is :)


thanx,

Guyon Moree
http://gumuz.looze.net


Paul Rubin schreef:

> "Guyon Morée" <guyon.moree at gmail.com> writes:
> > if (((src_host,src_port, protocol) in dict or (dest_host, dest_port,
> > protocol) in dict) and starttime < time < endtime):
> >   print "we have a winner"
> 
> If you have enough memory to do it that way, what's the problem?




More information about the Python-list mailing list