EDN Admin
Well-known member
I have XML file which is actually used to show the Search Results. So Once Search is complete then i need to insert each Search Result as a child in the XML. Usually it would be 200 to 1000 insertion operation.And Multiple threads access this single
xml file and insert the child nodes. If any duplicates occurs then i need to delete the duplicate node.
So there is huge XML Processing and Parsing is happening here. I was using the XMLDocument as of now. But it is slow and as well as more memory consuming.So i am going to replace the XMLDocument.
The replacement should be faster, less memory consuming, thread safe and also efficiently does the XML Parsing and Processing[insert and delete].
so which one is better replacement, is it XMLWriter or LINQ to XML? or anything else do you have in mind?
View the full article
xml file and insert the child nodes. If any duplicates occurs then i need to delete the duplicate node.
So there is huge XML Processing and Parsing is happening here. I was using the XMLDocument as of now. But it is slow and as well as more memory consuming.So i am going to replace the XMLDocument.
The replacement should be faster, less memory consuming, thread safe and also efficiently does the XML Parsing and Processing[insert and delete].
so which one is better replacement, is it XMLWriter or LINQ to XML? or anything else do you have in mind?
View the full article