hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akash Ashok <thehellma...@gmail.com>
Subject Why LightWeightGSet ?
Date Mon, 13 Jun 2011 13:54:54 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message