开发者

System for storing Geometric Data for use in a WPF application

开发者 https://www.devze.com 2023-03-12 04:04 出处:网络
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?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消