Array size may affect the cost in native pinPrimitiveArray call. But I am not sure.
isCopy arg just output false.
Implementation of Get/ReleasePrimitiveArrayCritical and Get/ReleaseByteArrayElements are the same. However the Get/ReleasePrimitiveArrayCritical output void*. May be that is why Get/ReleasePrimitiveArrayCritical is slower.
No comments:
Post a Comment