Akash, You should be able to come to a conclusion here: https://issues.apache.org/jira/browse/HDFS-1114
On Mon, Jun 13, 2011 at 7:24 PM, Akash Ashok <thehellma...@gmail.com> wrote: > Hi, > I was just going thru the implementation of LightWeightGSet and i figured > LightWeightGSet implementation is pretty much the same as that of a HashMap > execept for the fact that HashMap resizes itself if the number of element > exceeds the load factor and HashMap has a much stronger hash. Could some1 > tell me as to why LightWeightGSet was written when HashMap itself could have > been used ?? > > Cheers, > Akash A > -- Harsh J