Author Topic: Serializing xml files to memory.  (Read 5432 times)

0 Members and 1 Guest are viewing this topic.

Keith Brown

  • Swamp Rat
  • Posts: 601
Re: Serializing xml files to memory.
« Reply #15 on: January 21, 2017, 08:49:13 AM »
I thought about it but in this case I do not believe that it would be any different.  My issues were not with the speed of serialization but with the speed of the AutoCAD .NET API saving that information into the drawing database via ResultBuffers.  Once I zipped the resulting xml file the speed increased dramatically.


** Edit ** Now that I think about it, the information serialized to json would be a smaller file size as json does not require as much extra information in its file.  I just might look into this.
« Last Edit: January 21, 2017, 09:54:42 AM by Keith Brown »
Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013