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

关于 sqlite3_finalize 的疑问 #136

Open
atom2ueki opened this issue Dec 17, 2018 · 0 comments
Open

关于 sqlite3_finalize 的疑问 #136

atom2ueki opened this issue Dec 17, 2018 · 0 comments

Comments

@atom2ueki
Copy link

atom2ueki commented Dec 17, 2018

@ibireme 这几天看了YYCache源码,有1个疑问,参考了 #33

  1. 更新accesstime和modtime的stmt是一次性的,每次销毁sqlite3_finalize(stmt);是可以理解的
    但是类似这种批量query的操作- (NSMutableArray *)_dbGetItemWithKeys: excludeInlineData:为什么也不做缓存呢?有什么特殊的考量?
    (如有提问不当,请直接指出,谢谢🙏)
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

1 participant