memoize
memoize copied to clipboard
A method caching macro for elixir using CAS on ETS.
We see massive degradation in performance once `:max_waiters` is reached because `:waiter_sleep_ms` is set to `0` by default. The CPU is wasting time spinning instead of completing the computation (under...
example (Memoize 1.3.0) suppresses obvious compiler warnings ```elixir defmodule Greetings do use Memoize defmemo hello(name) when is_binary(name) do :ok = DoesNotExist.foo() "Hello, #{name}!" end end ```
As stated in the title, i think a simple github action workflow that checks formatting and runs tests will go a long way in helping development, I have some free...
Could we configure different times for expiration depending on the kind of return? I mean, if I have the following function: ```elixir defmemo request_data, expires: :timer.hours(1) do case get("/data") do...