简体   繁体   中英

android cached local files vs raw resources

Which is quicker/preferred. To save json data in the raw folder in resources, or in a local file in the apps cache using getCacheDir().

I'm thinking the cache route might have some speed improvements seeing as it is cached, or am I totally misunderstanding the concepts? (Highly possible)

Thanks in advance

Russ

我认为RAW或ASSETS文件夹可能更快,因为它与代码紧密集成并存储到设备内部存储器中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM