阅读背景:

有办法重用XmlReader吗?

来源:互联网 

I have a process that uses an XmlReader. I have already done a lot to squeeze maximum performance out of it. So far we have had huge gains from using the Reader as opposed to XmlDoc or DataSet.GetXml(). We expect to get XML many times a second and I would like to avoid the overhead of recreating the reader every time. I have already cached the XmlReaderSettings but is there anyway to reuse the XmlReader or do I need to recreate it every time?I have a process that uses an XmlReader. I have




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: