简体   繁体   中英

System for storing Geometric Data for use in a WPF application

I'm writing a WPF app that uses thousands of WPF shapes. What is the most efficient method to store a large number 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM