Skip to content

Conversation

badboy
Copy link
Member

@badboy badboy commented Sep 2, 2024

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 badboy force-pushed the jna-direct-mapping branch from f9a6624 to 21991c5 Compare September 2, 2024 11:57
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.
@mhammond
Copy link
Member

I picked this up because @jrmuizel thought there was a good chance it would improve things. However, the benchmarks failed to show any improvement.

@mhammond
Copy link
Member

cc @paxbun for any thoughts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants