You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be beneficial performance-wise to memoize some functions with a single memory cache when running optimizations, especially if I can keep a lot in memory :) Memoize.jl seems to be able to do just that... From its ReadMe:
using Memoize
using LRUCache
@memoizeLRU{Tuple{Any,Any},Any}(maxsize=2) functionx(a, b)
println("Running")
a + b
end
The text was updated successfully, but these errors were encountered:
It might be beneficial performance-wise to memoize some functions with a single memory cache when running optimizations, especially if I can keep a lot in memory :) Memoize.jl seems to be able to do just that... From its ReadMe:
The text was updated successfully, but these errors were encountered: