About Cacher
Web App
Download
Sign In
Sign Up
menu
Cacher is the code snippet organizer for pro developers
We empower you and your team to get more done, faster
Learn More
smilevchy
2/23/2016 - 6:05 AM
share
Share
add_circle_outline
Save
My Best Practises to Design A Good App.md
My Best Practises to Design A Good App.md
content_copy
file_download
Rendered
Source
对于内存不足的场景,目前只针对图片或者文件处理的情形必须做处理,其他情形可以等出状况时再处理
若数据库操作耗时太长,那就直接采取最简单的数据库操作,然后把复杂的逻辑处理放在代码层做
General rule for everything: If it's fast enough, do it on the main thread. If not, use a worker thread
clear