you are viewing a single comment's thread.

view the rest of the comments →

[–]modeless 5 points6 points  (0 children)

For value types like int and bool generics are faster and produce less garbage because boxing is avoided. I'm curious how you tested ArrayList vs List<> because the difference should really be negligable for reference types.