> Hi Allan,
>
[quoted text clipped - 3 lines]
> section? How did you find that it is that code fragment cause the page
> request be blocked?
No I've narrowed the problem down to the code I pasted.
When I commented out the code the problem dissapeared. When I put it back in
the problem reappeared.
I'm just guessing that it might be BinarySearch that is the problem..
> for BinarySearch, I haven't find any existing issue on it, not suring
> whether it also related to the number collection used here. I think you
> can
> move the code out in a normal console or a separate page (test the
> intersection size counting code) to see whether it will show the same
> problem.
I've solved the problem by calculating the intersection in th SQL query, I
will not be investigating further.
> BTW, since you're sorting and searching against integer list, why not use
> the generic List<T> class?
As I write it is a dotNet 1.1 application. But you are right if it was a
dotNet 2.0 application a generic list would be the rigth choice.
Kind Regards,
Allan Ebdrup
Steven Cheng[MSFT] - 22 May 2007 13:51 GMT
Thanks for your followup Allan,
Glad to hear that you've found a means to workaround the issue. If you meet
any further problem on this and need help, please feel free to post here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.