all groups > dotnet xml > june 2003 >
You're in the

dotnet xml

group:

Save / restore XMLDOM avoiding serialization



Save / restore XMLDOM avoiding serialization Dave Romig
6/28/2003 10:20:29 PM
dotnet xml: Can anyone provide guidance for saving and restoring an XMLDOM object as a
binary blob? In a VB application, I need to repeatedly save and restore a
large, dynamic XML document. Currently, the CPU overhead of serialization
and de-serialization is KILLING performance.

I have done some tests and if I could persist the DOM as a binary blob, I
think the performance issues would be resolved. A pair of orthogonal
functions that translate between XMLDOM and byte array would be great.

Thanks for your assistance.
Dave

Re: Save / restore XMLDOM avoiding serialization Oleg Tkachenko
6/29/2003 1:26:38 PM
[quoted text, click to view]
I don't think it would help. Performance penalty of serializing and
deserializing of large object graph is unavoidable, you'd better avoid
save/restore of big DOM objects in your design, why do you need it, btw?
--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel
AddThis Social Bookmark Button