Join Slack
Powered by
<@U5VSX7K4L> if you look at parcelable you might a...
# android
d
dylan
12/07/2017, 2:49 PM
@ibcoleman
if you look at parcelable you might also want to check out
https://android.jlelse.eu/parcelable-vs-serializable-6a2556d51538
which shows some interesting results.
l
louiscad
12/07/2017, 3:15 PM
Note that the charts are misleading, because proper serialization (using the recommendations found in Effective Java) is actually faster than
Parcelable
. But the boilerplate is more complex to get right than
Parcelable
.
d
dylan
12/07/2017, 3:22 PM
from what I see in
https://bitbucket.org/afrishman/androidserializationtest
the code is almost the same instead of doing
parcel.readString()
you call
inputstream.readUtf()
10
Views
Open in Slack
Previous
Next