Re: [Tutor] A faster x in S

2008-01-16 Thread Dinesh B Vadhia
faster x in S Dinesh B Vadhia wrote: > For some significant data pre-processing we have to perform the > following simple process: > > Is the integer x in a list of 13K sorted integers. That's it except > this has to be done >100m times with different x's (multiple

[Tutor] A faster x in S

2008-01-15 Thread Danny Yoo
Kent and Bob, Are you thinking of the first problem in Bentley's Programming Pearls? The original poster's questions sounds like it could be in that domain. http://netlib.bell-labs.com/cm/cs/pearls/cto.html So I agree: the next questions we probably should ask the original poster: * W

Re: [Tutor] A faster x in S

2008-01-15 Thread bob gailer
Dinesh B Vadhia wrote: > For some significant data pre-processing we have to perform the > following simple process: > > Is the integer x in a list of 13K sorted integers. That's it except > this has to be done >100m times with different x's (multiple times). > Yep, a real pain! > > I've

Re: [Tutor] A faster x in S

2008-01-15 Thread Kent Johnson
Dinesh B Vadhia wrote: > For some significant data pre-processing we have to perform the > following simple process: > > Is the integer x in a list of 13K sorted integers. That's it except > this has to be done >100m times with different x's (multiple times). > Yep, a real pain! > > I've

[Tutor] A faster x in S

2008-01-15 Thread Dinesh B Vadhia
For some significant data pre-processing we have to perform the following simple process: Is the integer x in a list of 13K sorted integers. That's it except this has to be done >100m times with different x's (multiple times). Yep, a real pain! I've put the 13K integers in a list S and am u