2 ms·
Both Erlang and Elixir have access to Erlang's ETS (an OS-process-local cache) and it is sparingly used in the cases when mutability is undoubtedly the more eff
by pdimitar 10y ago
Both Erlang and Elixir have access to Erlang's ETS (an OS-process-local cache) and it is sparingly used in the cases when mutability is undoubtedly the more efficient approach.
The FP folk aren't close-minded about this. They just use mutability only when it's provably more performant than their builtin immutable data structures.