YYCache
YYCache copied to clipboard
High performance cache framework for iOS.
楼主你好,YYCache支持分页么?
嗨,大神,在- (void)_trimToCost:(NSUInteger)costLimit代码最后一段什么意思呢,[holder count]只是获取到数组的个数呀 ``` if (holder.count) { dispatch_queue_t queue = _lru->_releaseOnMainThread ? dispatch_get_main_queue() : YYMemoryCacheGetReleaseQueue(); dispatch_async(queue, ^{ [holder count]; // release in queue }); } ```
2016-08-09 15:12:39.251 Cache[8395:623370] object:(null) 2016-08-09 15:12:39.426 Cache[8395:623370] object:(null) 2016-08-09 15:12:39.594 Cache[8395:623370] object:(null) 2016-08-09 15:12:39.747 Cache[8395:623371] object:(null) 2016-08-09 15:12:39.943 Cache[8395:623371] object:( "", "", "", "", "", "" ) 2016-08-09 15:12:40.363 Cache[8395:623371]...
Have you still maintain it?
现在好像不能对key做like查询。这个应该挺实用的
我想要地址。。。。。
工作中发现一个有趣的现象,用YYCache存储了900多张网络请求下来的资源图片以及一些请求的response。 后来发现并没有用到内存存储,就改成了YYDiskCache。 有趣的是,改成YYDiskCache,用xcode查看Memory和CPU用量,并没有像预想的那样大幅度减少。反而有少许上涨。 所以问题是,YYMemoryCache是不是对YYDiskCache有些影响?