Re: interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
- From: "Bill Butler" <qwerty@xxxxxxxx>
- Date: Fri, 27 Jan 2006 01:51:21 GMT
"Jon Skeet [C# MVP]" <skeet@xxxxxxxxx> wrote in message
news:1138276955.021038.22950@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Chris S. wrote:
>> a bug in the quicksort in 1.1? seems to only happen with "fixed" which
>> is bizzarre
>
> I'm not sure whether I'd classify it as a bug in 1.1. Hint: if you give
> 2.0 different data (still just strings) but the same comparison method
> you can break that, too - although it throws an exception rather than
> hanging.
I know why it hangs in 1.1. (keeping quiet for the moment)
I don't know why in wouldn't hang in 2.0
Perhaps quicksort algorithm in 2.0 has been tweaked to avoid the terminal flaw????
Bill
.
- Follow-Ups:
- References:
- interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
- From: Wiktor Zychla [C# MVP]
- Re: interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
- From: Jon Skeet [C# MVP]
- Re: interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
- From: Wiktor Zychla [C# MVP]
- Re: interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
- From: Jon Skeet [C# MVP]
- Re: interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
- From: Chris S.
- Re: interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
- From: Jon Skeet [C# MVP]
- interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
- Prev by Date: Retrieving Application Information?
- Next by Date: Re: Comparing Strings
- Previous by thread: Re: interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
- Next by thread: Re: interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
- Index(es):
Relevant Pages
|
Loading