bundle內部實現是ArrayMap,在小數據存儲的時候,效率比Hashmap,而一般需要使用bundle的場景數據都比較小。 bundle使用ParceLable序列化對象,而Hashmap是java的類,使用的是Serializable,效率上bundle高。 提高可查詢->文章