核心数据是否对字符串的长度施加了限制? [英] Does Core Data impose limits on the length of strings?

查看:167
本文介绍了核心数据是否对字符串的长度施加了限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道使用Core Data在iOS中存储的字符串的长度是否有任何限制。 (除了设备上的可用RAM或磁盘空间)

I was wondering if there are any limits on the length of strings stored using Core Data in iOS. (other than available RAM or disk space on the device)

推荐答案

我认为你更有可能达到性能限制您在核心数据中的任何存储限制之前的iOS设备。

I think you're more likely to hit the performance limits on an iOS device before you hit any storage limits in Core Data. You'll also be getting a performance hit from pulling in large chunks of data.

在性能和可管理性方面,你可以将大块的文本分成多个部分,

You are better off, both in performance and manageability, breaking up large blocks of text into smaller chunks.

从我记得Marcus Zarra告诉我。

From what I remember Marcus Zarra telling me anyway.

这篇关于核心数据是否对字符串的长度施加了限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆