uniffi-rs icon indicating copy to clipboard operation
uniffi-rs copied to clipboard

Kotlin: Switch to JNA direct mapping

Open badboy opened this issue 1 year ago • 0 comments
trafficstars

According to https://github.com/java-native-access/jna/blob/master/www/DirectMapping.md direct mapping can improve performance substantially, maybe even that of custom JNI. Given we know all methods it's easy to switch it all over.

Note that I have not run any actual benchmark to see how it helps.

badboy avatar Sep 02 '24 11:09 badboy