-
Notifications
You must be signed in to change notification settings - Fork 2
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
Making Memoization.jl threadsafe. #7
Comments
Nice! Didn't know about it. I think that should work for memoized top-level functions. At least, it will if the answer to this is yes (which I think it is, just wanting to verify). I don't think it will currently work for memoized callables/closures though, since looking up the right cache itself is still happening with the non-threadsafe |
Well, the answer wasn't exactly yes but it should still work, using ThreadSafeDicts, Memoization
@memoize ThreadSafeDict foo(x) = ... |
Can the following library be used to make Memoization.jl threadsafe?
ThreadSafe Dict: https://github.com/wherrera10/ThreadSafeDicts.jl
The text was updated successfully, but these errors were encountered: