Re: Querying expense and weak hashtables
- From: Jon Trowbridge <trow novell com>
- To: Daniel Drake <dsd gentoo org>
- Cc: dashboard-hackers gnome org
- Subject: Re: Querying expense and weak hashtables
- Date: Mon, 21 Nov 2005 02:17:07 -0600
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]