-
Notifications
You must be signed in to change notification settings - Fork 57
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
Consider redesign of MemoryReader.release
and MemoryWriter.release
#378
Comments
I agree, but I do not have any clear ideas about what to do with them. I think it will be more clear when we have some kind of prototype of working with native or memory-mapped blocks. |
Well, current usages of |
So, we have either to carefully use such objects like |
An obvious prototype of using managed native objects is kmath-gsl. |
We need this interface to be usable both for managed and for non-managed memory. So there should be some kind of either release method or strict scoping policy. It does not make a lot of sense for only managed memory. I am not quite sure right now, but I think that there should be a release method like it is now, and the scoping rules should be built on top of it. |
Maybe we should separate managed memory for things like |
Closing because of #432 |
No description provided.
The text was updated successfully, but these errors were encountered: