Re: interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]



"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


.



Relevant Pages

  • Re: interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
    ... I'm not sure whether I'd classify it as a bug in 1.1. ... Hint: if you give ... different data (still just strings) but the same comparison method ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Bugs on aspire one A150
    ... I disabled that behaver in gnome-power-manager and now no more hangs. ... Please do report it as an ACPI EC bug. ... even if you could fix the EC driver for your hardware, ... missing confirmations, switching to polling mode" ...
    (Linux-Kernel)
  • Re: [opensuse] shutdown hangs after kernel update
    ... yesterday I updated the kernel using the opensuse-Updater. ... shutdown hangs after the message "Shutting down D-Bus daemon". ... the bug has been mysteriously closed as "Won't Fix". ... daemon" while in that bug all reported that it hangs after the final message. ...
    (SuSE)
  • Re: FreeBSD 5.3 hangs on high network load
    ... the first thing would be to try moving to the head of ... > 5-STABLE to see if the bug has already been fixed there already or not. ... > hangs. ... > responds to pings once it has appeared to hang. ...
    (freebsd-net)
  • Re: /etc/init.d/gdm stop causing system hang
    ... it hangs with just a blinking cursor? ... same even if I kill the process. ... Is this a bug or has something changed with ...
    (Ubuntu)

Loading