我试图了解在Android程序中使用HashMapvs a 对性能的影响Bundle.我知道a Bundle是一个专门的Android组件 - 因此它是否优于HashMap只需要存储基本数据类型(Integers,Strings等)而不是复杂对象?
HashMap
Bundle
Integer
String
performance android
android ×1
performance ×1