S
Sims
Hi,
I hope you guys can help me solve a problem that i am having with speeding
my system.
I also hope i can explain myself
Here goes,
I have a set of columns that i numbered from 0 to x.
Each row contains objects that can span over many columns.
so for example i can have col:
0-1-2-3-4-5-6
AAAA
BBBBB
CC
As you can see row 'A' ranges between 1- 3, 'B' between 2 and 5, 'C' ranges
between 0 and 1.
So if i was looking for rows that range between 0 and 1 i should return A
and C, (partial items are OK).
I could loop thru all the rows but that does not seem like a very efficient
way of doing what i want.
so if i had a structure like
struct _MYDATA{
int max; // the max col
int min; // the min col
int data; // the number that i am after.
};
What would be the best way to retrieve the number that range between x-y?
Many thanks for your help.
Sims
I hope you guys can help me solve a problem that i am having with speeding
my system.
I also hope i can explain myself
Here goes,
I have a set of columns that i numbered from 0 to x.
Each row contains objects that can span over many columns.
so for example i can have col:
0-1-2-3-4-5-6
AAAA
BBBBB
CC
As you can see row 'A' ranges between 1- 3, 'B' between 2 and 5, 'C' ranges
between 0 and 1.
So if i was looking for rows that range between 0 and 1 i should return A
and C, (partial items are OK).
I could loop thru all the rows but that does not seem like a very efficient
way of doing what i want.
so if i had a structure like
struct _MYDATA{
int max; // the max col
int min; // the min col
int data; // the number that i am after.
};
What would be the best way to retrieve the number that range between x-y?
Many thanks for your help.
Sims