Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT SoftRefHashtable uses SoftReferences




On Apr 11, 2005, at 19:25, Nicholas R. Rinard wrote:

I recently implemented a Hashtable which uses SoftReferences instead of regular references. I thought this code might be useful to someone else, since it has helped me be a little more gentle with my memory footprint. I also though I might slyly benefit if someone notices a bug that I overlooked. This code is simple, almost trivial, so it can be public domain, but it is also useful, so especially if you notice a bug please let me know.

Here is an alternative implementation for your entertainment:

http://dev.alt.textdrive.com/file/ZOE/Frameworks/SZFoundation/ SZCache.java

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >OT SoftRefHashtable uses SoftReferences (From: "Nicholas R. Rinard" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.