plist or sqlite(plist 或 sqlite)
问题描述
我必须在 iPhone 上存储大量数据,然后根据需要对其进行排序和搜索.任何人都可以向我建议我应该使用哪个 SQLite 或 plist?
I have to store a huge amount of data on IPhone then sort and search it as per requirement. Can anyone suggest to me which of SQLite or plist should I use?
我正在考虑使用 SQLite.plist 和 SQLite 哪个在搜索和排序中的处理时间更短?
I was thinking of using SQLite. Which of plist and SQLite takes less processing time in searching and sorting?
如果有人有参考指南,请告诉我.
If some one has some reference guide then let me know.
问候
推荐答案
Plist 和 SQLite 有不同的用例.
Plist and SQLite have different use cases.
PList 是一种文件格式,用于存储少量结构数据(小于几百 KB),通常是字典.PList 本身没有排序功能,尽管可以轻松编写代码对其进行排序.
PList is a file format used to store a small amount of structural data (less than a few hundred kilobytes), typically a dictionary. PList doesn't have sorting capabilities in and of itself, although code can easily be written to sort it.
SQLite 是一个成熟的数据库.文件大小(在 iphone 上)基本上是无限的.内置排序功能.可以进行查询和关系表设计.性能应该与您可能想出的任何排序算法一样好.
SQLite is a full-fledged database. File sizes (on an iphone) are essentially unlimited. Sorting capabilities are built in. Querying and relational table designs are possible. Performance should be as good as any sorting algorithm you might come up with.
这篇关于plist 或 sqlite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:plist 或 sqlite
基础教程推荐
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- 带更新的 sqlite CTE 2022-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
