Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use JNA direct mapping to improve performance #20

Open
airsquared opened this issue Apr 18, 2020 · 1 comment
Open

Use JNA direct mapping to improve performance #20

airsquared opened this issue Apr 18, 2020 · 1 comment

Comments

@airsquared
Copy link

airsquared commented Apr 18, 2020

JNA's docs say that using direct mapping can "improve performance substantially". Is it possible to take advantage of direct mapping in this project?

@shannah
Copy link
Owner

shannah commented Apr 19, 2020

Interesting. It's possible that it would improve performance, and it looks like it would be pretty easy to change (just change the Runtime interface to a class, and add native to the methods). Before doing this, it's probably a good idea to generate some benchmarks so we know if we're making things better at all.

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

No branches or pull requests

2 participants