On 9/11/01 9:26 PM, "Attila Szegedi" <[EMAIL PROTECTED]> wrote:

> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: 2001. szeptember 11. 19:31
> Subject: cvs commit:
> jakarta-velocity/src/java/org/apache/velocity/util/introspection
> Introspector.java
> 
> 
> <snip/>
>> 
>>   Also, it doesn't seem that using a Set would offer any advantage, as
> AFAIK,
>>   the standard impls are backed by HashMap or TreeMap anyway...
>> 
> 
> <snip/>
> 
> True, and it's one of most lame things I hate about Sun's JDK collections
> implementation. However, our source code is cleaner AND we can hope some
> future implementation will fix this (I have written my own LightHashSet that
> is a non-map based clean implementation of hash set that I use when I mind
> memory consumption).
> 

I did the switch - it is clearer to read, and since it's based on a HashMap,
probably no penalty...

geir

-- 
Geir Magnusson Jr.     [EMAIL PROTECTED]
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
If you look up, there are no limits - Japanese Proverb

Reply via email to