3 ms·
Or compile Elixir to native code with HiPE by adding: @compile [:native, {:hipe, [:verbose, :o3]}] to the top of the module with the arithmetic. It might
by andy_ppp 10y ago
Or compile Elixir to native code with HiPE by adding:
@compile [:native, {:hipe, [:verbose, :o3]}]
to the top of the module with the arithmetic. It might not be as performant as C but it can be about 10-15X more performant than pure elixir (in my tests anyway).
I've no idea of the relative performance against numpy...