Re: [Tutor] Please help matching elements from two lists and printing them

2004-12-09 Thread Jeff Shannon
kumar s wrote: On top of this this process is VERY SLOW on high end server too. That's because, for each line in spot_cor, you're examining every item in spot_int, and if there's a match, you examine every element in spot_int again! If I'm remembering my big-O notation correctly, that makes th

Re: [Tutor] Please help matching elements from two lists and printing them

2004-12-08 Thread kumar s
Hi, thank you very much for suggesting a way. In fact I tried and I found another way to do it. could you please suggest if something is wrong because I have false positive results in the output. That means I getting more that the values I have in spot_cor. For example I have 2500 elements in

Re: [Tutor] Please help matching elements from two lists and printing them

2004-12-08 Thread Bob Gailer
At 02:51 PM 12/8/2004, kumar s wrote: Dear group, I have two tables: First table: spot_cor: 432 117 499 631 10 0 326 83 62 197 0 0 37 551 Second table: spot_int 0 0 98 1 0 5470 2 0 113 3 0 5240 4 0 82.5 5

[Tutor] Please help matching elements from two lists and printing them

2004-12-08 Thread kumar s
Dear group, I have two tables: First table: spot_cor: 432 117 499 631 10 0 326 83 62 197 0 0 37 551 Second table: spot_int 0 0 98 1 0 5470 2 0 113 3 0 5240