Re: .NET 2.0 performance bug in ArrayList.Sort (its getting hotter!)
- From: Alex Chudnovsky <alexc@xxxxxxxxxxxxxxxx>
- Date: Sun, 30 Apr 2006 19:30:03 +0100
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
.
- Follow-Ups:
- Re: .NET 2.0 performance bug in ArrayList.Sort (its getting hotter!)
- From: Chris Chilvers
- Re: .NET 2.0 performance bug in ArrayList.Sort (its getting hotter!)
- References:
- .NET 2.0 performance bug in ArrayList.Sort
- From: Alex Chudnovsky
- Re: .NET 2.0 performance bug in ArrayList.Sort (its getting hotter!)
- From: Alex Chudnovsky
- Re: .NET 2.0 performance bug in ArrayList.Sort (its getting hotter!)
- From: Chris Chilvers
- Re: .NET 2.0 performance bug in ArrayList.Sort (its getting hotter!)
- From: Alex Chudnovsky
- Re: .NET 2.0 performance bug in ArrayList.Sort (its getting hotter!)
- From: Chris Chilvers
- .NET 2.0 performance bug in ArrayList.Sort
- Prev by Date: Re: .NET 2.0 performance bug in ArrayList.Sort (its getting hotter!)
- Next by Date: Re: .NET 2.0 performance bug in ArrayList.Sort (its getting hotter!)
- Previous by thread: Re: .NET 2.0 performance bug in ArrayList.Sort (its getting hotter!)
- Next by thread: Re: .NET 2.0 performance bug in ArrayList.Sort (its getting hotter!)
- Index(es):
Relevant Pages
|