YYCache
YYCache copied to clipboard
High performance cache framework for iOS.
运行时有个警告
unixShmMap-preallocate(/var/xxxxxx/Library/Caches/xxxxxx/manifest.sqlite-shm) - Invalid argument 运行时报大段报以上的错误,请问是什么问题? iOS 11.3 iPhoneX
Let's remove default column `rowid`, it can reduce storage and processing requirements. Please see [SQLite withoutrowid](https://sqlite.org/withoutrowid.html).
`usleep` function would block the thread, in `RunLoop` way, which can handle input sources in 10 ms.
This is a minor change to make the YYCache library work with tvOS. It has been tested in production and works fine; all you need to do is advertise support...
后台返回了一个大约900多K的json字符串,开始我先讲json转成模型进行缓存,读取的时候要5s,后来改成不转成模型,直接存,取出话费的时间还是需要1-2s;但是我改成用文件进行缓存,直接写入沙盒文件,读取速度却快了很多,只要0.1s的时间
```objc - (instancetype)init { self = super.init; pthread_mutex_init(&_lock, NULL); _lru = [_YYLinkedMap new]; // ---> 串行对列: 加入的任务 顺序执行 // ---> 并行队列: 加入的任务 同步执行 _queue = dispatch_queue_create("com.ibireme.cache.memory", DISPATCH_QUEUE_SERIAL); 这里创建了一个队列,在dealloc的时候 是应该销毁的 但是在下面的方法却没有销毁?...
你好,问下,你这个库是不再进行维护了吗?
pod ReactiveCocoa 后发生冲突?是什么原因呢?