3 ms·
If you need mathematical performance and parallel computing (SIMD or matrix multiplication) it might be worth using the NX library which is basically the elixir
by andy_ppp 3y ago
If you need mathematical performance and parallel computing (SIMD or matrix multiplication) it might be worth using the NX library which is basically the elixir equivalent of numpy. Otherwise you could probably write maths stuff in rustler if there really is a performance issue. Generally it’s immutability slowing down the maths not the calculations.
- mrkeen 3y ago> Generally it’s immutability slowing down the maths not the calculations >> A brief history of recent optimizations >> Erlang/OTP 22 introduced a new SSA-based intermediate representation in the compiler.