smansker / Game

Tony's and Shelby's first game in Unity 3D
0 stars 2 forks source link

Research XML #8

Closed Tulvan closed 11 years ago

Tulvan commented 11 years ago

Figure out how to move Items.txt to XML. Read/Write XML. Read and measure search times on a 100 item file and 10,000 item file.

Shelby suggested LINQ to XML.

Tulvan commented 11 years ago

Only did read and with custom library. It read in 100 full items in .55 seconds. 1,100 took 5.1 seconds. 2,200 took 9.6 seconds. I converted our existing code to use the new code and thus an XML file rather than a text file.