-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Improve data transfer between ScalaPy and Python #232
Comments
What do you think of jdk.incubator.foreign APIs introduced since jdk 1 This project uses them and this article says its performance advantage over JNA. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The goal is to improve the transfer speed of data passing from ScalaPy to Python. This would make ScalaPy programs which rely heavily on data switching from one to other run much faster.
The current plan for solving this issue is:
Replace JNA with JNI in CPythonAPI
Replace JNA with JNI in Platform
These two alone could bring a speedup of an order of magnitude if not more.
The last one is the most open as there is no guarantee that optimization can and will be found but it is definitely the most interesting and time demanding.
The text was updated successfully, but these errors were encountered: