plist 或 sqlite

plist or sqlite(plist 或 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

FastAPI + Tortoise ORM + FastAPI Users (Python) - Relationship - Many To Many(FastAPI+Tortoise ORM+FastAPI用户(Python)-关系-多对多)
Window functions not working in pd.read_sql; Its shows error(窗口函数在pd.read_sql中不起作用;它显示错误)
(Closed) Leaflet.js: How I can Do Editing Geometry On Specific Object I Select Only?((已关闭)Leaflet.js:如何仅在我选择的特定对象上编辑几何图形?)
in sqlite update trigger with multiple if/Case Conditions(在具有多个IF/CASE条件的SQLite UPDATE触发器中)
Android: Why is Room so slow?(Android:为什么Room这么慢?)
Remote Procedure call failed with sql server 2008 R2(使用 sql server 2008 R2 的远程过程调用失败)