Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

高频调用 LeeConfigImage 的性能问题 #31

Open
xiaolong-jin opened this issue Aug 7, 2024 · 1 comment
Open

高频调用 LeeConfigImage 的性能问题 #31

xiaolong-jin opened this issue Aug 7, 2024 · 1 comment

Comments

@xiaolong-jin
Copy link

  • (id)getValueWithTag:(NSString *)tag Identifier:(NSString *)identifier 这个方法中,获取 Image 是否可以加缓存?
    高频调用的时候每次都要读文件,非常耗费性能。
@lixiang1994
Copy link
Owner

已增加图片缓存, 实现了基础的内存缓存, 如果你有特殊需要可以重写LEEThemeImageCache.h, 调用[LEETheme setImageCache: xxx]; 更换缓存对象.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants