At Thursday 10/8/2006 21:54, bruce wrote:
the issue i'm having is that i'm going to have to compare multiple rows of
information to the information in the db. so essentially i'd have to do a
hit to the db, for each row of information i want to compare if i did it
your way... (which was what i ha
> the issue of doing the string/list compare/search is that i can get
> everything from the db with one call... i can then iterate through memory
> for each of my row information that i'm searching to see if it exists in the
> db...
>
> memory searches should be faster than the network overhead, a
bruce wrote:
> hi larry...
>
> thanks for the reply...
>
> the issue i'm having is that i'm going to have to compare multiple rows of
> information to the information in the db. so essentially i'd have to do a
> hit to the db, for each row of information i want to compare if i did it
> your way...
the network overhead, and the
associated multiple db calls...
-bruce
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of Larry Bates
Sent: Thursday, August 10, 2006 4:28 PM
To: python-list@python.org
Subject: Re: seaching a list...
bruce wrote:
> hi...
>
bruce wrote:
> hi...
>
> i'm playing with a test sample. i have somethhing like:
> dog = mysql_get(.)
> .
> .
> .
>
> such that 'dog' will be an 'AxB' array of data from the tbls
>
> furher in the test app, i'm going to have a list, foo:
> foo = 'a','b','c','d'
>
> i'm trying to determ
bruce wrote:
> hi...
>
> i'm playing with a test sample. i have somethhing like:
> dog = mysql_get(.)
> .
> .
> .
>
> such that 'dog' will be an 'AxB' array of data from the tbls
What's an "'AxB' array", do you mean a list of lists? If not, what
kind of object do you mean and what methods
hi...
i'm playing with a test sample. i have somethhing like:
dog = mysql_get(.)
.
.
.
such that 'dog' will be an 'AxB' array of data from the tbls
furher in the test app, i'm going to have a list, foo:
foo = 'a','b','c','d'
i'm trying to determine what's the fastest way of searching t