字符串内部记忆 [英] string interning memory
本文介绍了字符串内部记忆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
哪里有关于字符串实习的好资源. .我怎么知道我的应用程序是否适合进行字符串实习以帮助减少内存占用?
where is a good resource on string interning . . how do i know if my app is a good candidate for string interning to help with memory footprint?
推荐答案
实习是由运行时自动完成的.
Interning is done automatically by the runtime.
http://msdn.microsoft.com/en -us/library/system.string.isinterned.aspx
这篇关于字符串内部记忆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文