Many objects like memory stream, list, and dictionary will double their size as needed causing wasteful copying and allocations. If you know your list will have 100,000 items, initialize it as such to avoid problems in the future.
Friday, 29 January 2016
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment