Would it be nice to use protocol buffer objects (serialized into byte arrays) to pass as intensive additions between Android actions, rather than applying Parcelable to classic POJOs? How will this affect performance?
Thanks Marcus
To know exactly what you will need to perform a test for your specific case.
What you need to remember about Parcel :
, , , : Parcel, . writeFloatArray(..). , , .
writeFloatArray(..)
Parcel.java , : http://www.google.com/codesearch/p?hl=en#uX1GffpyOZk/libs/binder/Parcel.cpp&q=Parcel.cpp%20package:android&sa=N&cd=1&ct=rc
Binder, ( -).
, : setDataCapacity(int size). , (= + ).
setDataCapacity(int size)
, recycle().
recycle()