简体   繁体   English

用于存储用于 WPF 应用程序的几何数据的系统

[英]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.

相关问题 可以使用.ini文件在.net Windows应用程序中存储数据吗? - Is it ok to use .ini files for storing data in .net windows application? 存储和加载程序数据,C#WPF - Storing and loading program data, C# WPF WPF - 从System.Windows.Application继承 - WPF - inherit from System.Windows.Application 是否有必要为 WPF 应用程序继承 System.Windows.Application 基类? - Is it necessary to inherit System.Windows.Application base class for WPF Application? 即使使用默认应用程序,Azure诊断也不存储数据 - Azure Diagnositcs not storing data, even with default application 在项目之间共享应用程序设置,并使用wpf中项目之一的数据绑定 - Share application settings between projects and use data binding from one of the project in wpf 使用.settings存储控件的文本数据是否很好? - Is it good to use .settings for storing controls' text data? 是否可以在WPF浏览器应用程序中使用DependencyProperty? - Is it possible to use DependencyProperty in a WPF Browser Application? System.NullReferenceException在Access数据库中存储数据时出错 - System.NullReferenceException Error while storing data in Access database 通过WPF客户端应用程序更改系统时间的策略 - Strategy to change system time via WPF client application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM