Conclusion.
- Parcelable is faster than serializable interface
- Parcelable interface takes more time for implemetation compared to serializable interface
- serializable interface is easier to implement
- serializable interface create a lot of temporary objects and cause quite a bit of garbage collection
- Parcelable array can be pass via Intent in android.
Speed Tests
Of course, we want to know how much faster Parcelable is.
No comments:
Post a Comment