hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vivek Ratan" <viv...@YAHOO-INC.COM>
Subject using TreeMaps in JobTracker
Date Mon, 09 Jun 2008 05:43:30 GMT
The JT has a number of Map member variables, and I noticed that it uses
TreeMaps for most, if not all, of them. I also noticed that these member
variables are pretty much used for 'puts' and 'gets'. Given that there
is no need for sorted iteration, and the JT doesn't even iterate over
any of these maps, shouldn't it be better to use HashMaps? 

View raw message