Re: .NET 2.0 performance bug in ArrayList.Sort (its getting hotter!)



Chris Chilvers wrote:
My only question is the choice of which value should be for the pivot.
This seems to be what slows it down the most with your original data.

But the issue does not appear to be the pivot - its that native call is not made for some reason in ArrayList.Sort in .NET 2.0 (at least for strings): perhaps that secret native sorting method is also smarter at pivots, we don't really know (and I am not desperate enough to get into disassembly).

Its tempting for me to leave it as is :-/

regards,

Alex
.



Relevant Pages

  • Re: Source of compresed air
    ... Is the rest of the book as tense as the first chapter? ... I'm only up to around page 100, but, so far, it slows down after the first ... Hang in there. ... I have an editor's review copy, which I have for a reason, or I'd send it to ...
    (rec.crafts.metalworking)
  • Re: Three Driving Peeves
    ... The person who brakes while approaching a green light. ... The person who speeds up and slows down for now reason ...
    (rec.sport.football.college)
  • computer locking up breifly
    ... For some reason my computer either slows down tremendously or locks up for ... I havent changed any hardware ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Three Driving Peeves
    ... The person who brakes while approaching a green light. ... The person who speeds up and slows down for now reason ...
    (rec.sport.football.college)
  • Re: blank records?
    ... >Everytime I click submit I get 3 entries at a time entered in for no reason ... >on top of the original data. ... The crystal ball says: You have a bug in your code. ...
    (comp.lang.php)