Re: How to count value in a ArrayList

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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
.



Relevant Pages

  • Re: A Revolutionary Breakthrough in Data Compression!
    ... Anyone know of links to any stable/reliable implementations ... decode the compressed stream en masse, but as I've said before, I've ... which does use lookup tables). ... length would require a prohibitive amount of memory for the tables, ...
    (comp.compression)
  • RE: copying files
    ... The cause for the issue may be because of a large amount of collisions ... occurring during file transfers. ... In general, the problem is protocol ...
    (microsoft.public.win2000.networking)
  • Re: Re-secured Algorithm?
    ... Who gives a shit WHO you try to impress? ... Because YOU made a claim that generating collisions was "trivial". ... >amount of time are saying that. ... after publishing their paper, ...
    (sci.crypt)
  • [PATCH 01/20] mm: print swapcache page count in show_swap_cache_info()
    ... Most show_memimplementations calculate the amount of pages within ... the swapcache every time. ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • [PATCH 01/20] mm: print swapcache page count in show_swap_cache_info()
    ... Most show_memimplementations calculate the amount of pages within ... the swapcache every time. ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)