MemoryStream replacement?

2019-05-01 01:25发布

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

2条回答
祖国的老花朵
2楼-- · 2019-05-01 01:44

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.

查看更多
Luminary・发光体
3楼-- · 2019-05-01 01:48

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/

查看更多
登录 后发表回答