HashSet versus HashTable w.r.t searching if an item exists

Posted by halivingston on Stack Overflow See other posts from Stack Overflow or by halivingston
Published on 2010-04-28T10:11:19Z Indexed on 2010/04/28 10:13 UTC
Read the original article Hit count: 401

Filed under:
|
|
|
HashSet<T> t = new HashSet<T>();
// add 10 million items


HashTable<T> t = new HashTable<T>();
// add 10 million items.

Whose .Contains method will return quicker?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#