Re: Prevayler-Discussion Digest, Vol 34, Issue 1
Klaus Wuestefeld <[email protected]>
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <[email protected]> |
> I was simply
> thinking a Map<String, String> where key and value is the same
> instance.
That is the same as a Set. You propably want a Set<WeakReference<String>>.
And Strings use 2 bytes for each char. If you have mostly ASCII, you
can use byte[] instead to store String.getBytes("UTF-8").
See you, Klaus.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org