Comments (4)
Don't use libz's soft implementation of crc32. Use a tuned implementation of crc32 (such as hardware accelerated) if possible. MMKV has some hardware accelerated crc32 inside. I'm not sure why your App doesn't use it.
By the way, you should provide info needed by following the issue template. Things like language & platform help.
from mmkv.
And 4M is not considered LARGE for MMKV. Generally speaking, MMKV handles files in that size range very well.
from mmkv.
appreciate for your apply and I'm sorry for that, I have edited my issue.
our platform is iOS, there is a commit turn off crc32 optimization for iOS that mmkv have closed crc32 optimization, does it have any problems on iOS?
from mmkv.
It's turned off because back then there were repeated reports from GitHub issues that some device crashed on these crc32 instructions. Theoretically, the libz provided by Apple is already tuned with accelerated hardware.
Exactly how big is your file when this ANR happens?
from mmkv.
Related Issues (20)
- MMKV for HarmonyOS NEXT 在ts文件中无法使用 HOT 7
- 【建议】建议MMKV的python端打包发布 HOT 4
- Cocoapods 源最新版本1.2.16 ,没找到1.3.5 等版本 HOT 1
- 保存后,马上读能读到,但杀死app后读读不到 HOT 4
- 在模拟器上会crash,真机上运行正常,这是为啥? HOT 2
- android系统上mmkv生成的数据文件在鸿蒙中使用 HOT 2
- mmkv 1.3.5版本不再支持armeabi-v7a ? HOT 1
- 鸿蒙next版本MMKV 取出的数据比保存的数据丢了一个字符 HOT 2
- Importing ArkTS files to JS and TS files is not allowed. <ArkTSCheck> HOT 2
- 鸿蒙版本的MMKV,double、float、int、bool现在不能返回undefined HOT 4
- 鸿蒙版本的MMKV中没有getAll方法 HOT 1
- 能否提供getAll接口,返回Object类型value
- 能否支持类似Android版本的getAll接口 HOT 2
- <MMKV.cpp:331::loadFromFile> fail to mmap [xxxx], Out of memory HOT 5
- Android平台下生成的mmkv文件,在鸿蒙系统下是否可以读取出来,因为后面Android可以升级到鸿蒙需要做数据迁移 HOT 5
- MMKV decodeDouble decodeBool api问题 HOT 1
- iOS 版本的 MMKV 1.2.12 版本,Xcode 15.4 真机运行包错 HOT 1
- MMKV 在 App 重启后丢失数据 HOT 4
- MMKV不支持鸿蒙 next 的api11 吗? HOT 4
- 鸿蒙里只有number类型,mmkv里区分了int32,int64 ,double, float等类型,请问在鸿蒙里mmkv里该如何使用 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmkv.