Dave this is how list<byte> would work as well ... you can however set an
initial size if you know it to avoid these doublings.

Cheers,

Greg


On 7/6/06, dave wanta <[EMAIL PROTECTED]> wrote:

Hi all,

btw, just fyi...if you Reflector a MemoryStream, it doubles it's internal
buffer every time it exceeds it's length.

The MemoryStream is really clean from a programmatic standpoint, it's just
not the performance I really want.

Thanks for all the suggestions guys!  I really appreciate it.

Cheers!
Dave

===================================
This list is hosted by DevelopMentor�  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com




--
If knowledge can create problems, it is not through ignorance that we can
solve them.

Isaac Asimov

Reply via email to