Julia is Eight times Slower than Go on Numerical Scheme

Yes, that (you may use a struct or a tuple to organize things). You could also use closures, or functors. Here many alternatives were dicussed: Define data-dependent function, various ways

1 Like