A few weeks ago I read something about a new class in .Net 4/4.5 that performs better than MemoryStream, but I can't seem to find it anymore.
I've looked in the IO namespace and could not find anything. Does anyone remember reading something like that?
Thanks
Perhaps you read about Memory Tributary, a CodePlex project that provides a MemoryStream replacement better suited for large amounts of memory
MemoryTributary is a MemoryStream replacement using multiple memory segments to store the content of the stream, as opposed to the single byte array of MemoryStream. It is designed to be a complete replacement, capable of handling the large datasets that MemoryStream cannot.
http://memorytributary.codeplex.com/
Not the answer that OP was looking for, but it may be usefull for someone like me who searches for MemoryStream replacement:
RecyclableMemoryStream released by Bing team, which is actually better performing MemoryStream
drop-in replacement.