.net - Performance: XmlReader or LINQ to XML -
i have 150 mb xml file used db in project. i'm using xmlreader
read content it. want know if better use xmlreader
or linq xml scenario.
note i'm searching item in xml , display search result, can take long time or moment.
if want performance use xmlreader. doesn't read whole file , build dom tree in memory. instead, reads file disk , gives each node finds on way.
with quick google search found performance comparison of xmlreader, linqtoxml , xdocument.load.
Comments
Post a Comment