I'm writing a WPF app that uses thousands of WPF shapes. What is the most efficient method to store a large number开发者_StackOverflow社区 of polygon coordinates for use in WPF?
XML, Database, Binary File, XAML?
What does efficiency mean to you? Speed? Storage?
Either way XML is definitely out of the question in both terms of speed and space.
I'll cast my vote for the database route, more specifically a local SQLite DB. It's fast, reliable and would be less tedious than creating your own custom binary format.
精彩评论