Skip to content

Commit 047238c

Browse files
committed
Switch Parcel to static JNI calls, pass pointer.
Instead of using parcelForJavaObject(), pass down the mNativeObj pointer explicitly. Benchmarks show that writeInt() is roughly 3x faster with this approach. Change-Id: I24ca235c334c44be716070aa8066ec8a429eadb7
1 parent 8ac70c4 commit 047238c

File tree

3 files changed

+309
-202
lines changed

3 files changed

+309
-202
lines changed

0 commit comments

Comments
 (0)