gpt4 book ai didi

c# - 内存流替代品?

转载 作者:太空狗 更新时间:2023-10-29 22:23:27 29 4
gpt4 key购买 nike

几周前,我读到一些关于 .Net 4/4.5 中的新类的内容,该类的性能优于 MemoryStream。 ,但我似乎再也找不到了。

我查看了 IO namespace找不到任何东西。有人记得读过类似的东西吗?

谢谢

最佳答案

也许您读过 Memory Tributary,这是一个 CodePlex 项目,它提供更适合大量内存的 MemoryStream 替代品

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/

关于c# - 内存流替代品?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12713886/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com