[英]System for storing Geometric Data for use in a WPF application
I'm writing a WPF app that uses thousands of WPF shapes.我正在编写一个使用数千个 WPF 形状的 WPF 应用程序。 What is the most efficient method to store a large number of polygon coordinates for use in WPF?
存储大量用于 WPF 的多边形坐标的最有效方法是什么?
XML, Database, Binary File, XAML? XML,数据库,二进制文件,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.无论哪种方式 XML 在速度和空间方面都绝对是不可能的。
I'll cast my vote for the database route, more specifically a local SQLite DB.我将投票支持数据库路由,更具体地说是本地SQLite DB。 It's fast, reliable and would be less tedious than creating your own custom binary format.
与创建您自己的自定义二进制格式相比,它快速、可靠且不那么繁琐。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.