I noticed in the commit for attribute get/set support in Context that we
have several Map initializations where the size of the HashMap
instantiated is size 2.
A couple questions:
1.) Why size 2 ?
2.) Can that initial size be acquired implicitly or be declared as a
constant instead of using the hard coded number '2' ?
3.) Isn't size 2 pretty small for a HashMap? With a default load
factor, that HashMap will get resized pretty quickly as entries are
added. I don't know how many entries are expected to be typically to be
put in that map?
thanks,
charlie ...