Tag: performance

  • SparseArray vs HashMap

    Main purpose of SparseArray in Android development is to have a memory efficient integer to object mapping. It is not solely about to gain a performance tweak, however, you will save much more memory by using SparseArray. Benefits of SparseArray Saves you memory (Less memory usage thanks to the primitive keys and no Entry objects)…