I have an XML (an SVG actually) file, 4000 lines, around 700 individual nodes, with one significant attribute each.
I want to preload the data, and populate actual C# runtime model graph with the data (some string splitting, and property setting).
I did it with XmlDocument
, the process took 12 sec (in Unity Editor Play Mode).
I began to implement using XmlReader
, only to iterate through the file took 6 sec (without any processing, only Read
, MoveToNextAttribute
calls).
Is there any way to read the file err... ...way faster?
6-8 sec launch time is something I cannot accept. The whole process should take around... ...half a second at most.