This discussion is archived
2 Replies Latest reply: Jul 25, 2012 12:16 AM by nitul.kukadia RSS

Effect of Collection Size

nitul.kukadia Newbie
Currently Being Moderated
Hi All,

We can specify initial Capacity for List , Maps and Set Collection types.

Generally if we consider at hardware level, it is fast to access bunch of bits in Power of 2. (2^i) Eg. 8 Bytes, 64 Bytes, ...

So, if we maintain Collection size in Power of 2 then does it increase my Application performance which is using no of collection types.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points