Re: How to count value in a ArrayList
- From: "Peter Duniho" <NpOeStPeAdM@xxxxxxxxxxxxxxxx>
- Date: Sat, 24 May 2008 16:49:57 -0700
On Sat, 24 May 2008 16:47:28 -0700, Peter Duniho <NpOeStPeAdM@xxxxxxxxxxxxxxxx> wrote:
On Sat, 24 May 2008 16:20:12 -0700, j1mb0jay <j1mb0jay@xxxxxxxxx> wrote:
[...]
I still stick with my argument, you do not have to re hash a hash table
when a large amount of collisions happen, you can just keep adding more
items,
You really should look at the actual classes in question before you make that claim. There is a reason that the .NET hash table implementations have a way to declare and inspect its "Capacity".
Sorry...my mistake. The capacity is internal, non-public. The docs refer to it, but you can't access it directly.
Still, the basic point about the implementation remains. And as Arne says, if you don't believe us, just look at the code.
Pete
.
- References:
- How to count value in a ArrayList
- From: Tony
- Re: How to count value in a ArrayList
- From: Ignacio Machin ( .NET/ C# MVP )
- Re: How to count value in a ArrayList
- From: Arne Vajhøj
- Re: How to count value in a ArrayList
- From: Arne Vajhøj
- Re: How to count value in a ArrayList
- From: Peter Duniho
- Re: How to count value in a ArrayList
- From: Arne Vajhøj
- Re: How to count value in a ArrayList
- From: Peter Duniho
- How to count value in a ArrayList
- Prev by Date: Re: How to count value in a ArrayList
- Next by Date: Re: string.Split() performant ?
- Previous by thread: Re: How to count value in a ArrayList
- Next by thread: Re: How to count value in a ArrayList
- Index(es):
Relevant Pages
|