Re: Querying expense and weak hashtables



On Tue, 2005-11-15 at 23:51 +0000, Daniel Drake wrote:
> The java Lucene uses a WeakHashMap:
> http://java.sun.com/j2se/1.4.2/docs/api/java/util/WeakHashMap.html
> 
> There isn't a direct equivalent in C# so a Hashtable is used, which doesn't 
> have the same characteristics.

It shouldn't be very hard to build something equivalent to the Java
WeakHashMap out of a standard Hashtable of System.WeakReference objects.
Anyone looking for a small and relatively self-contained programming
project?

-J






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]