Android内存优化之SparseArray源码解析

Android内存优化之SparseArray源码解析 一.概述 当遇到性能问题时,能够使用SparseArray来代替HashMap进行一些操做。 在源代码中(API26)中有以下一段描述:java It is intended to be more memory efficient than using a HashMap to map Integers to Objects, both be
相关文章
相关标签/搜索