Fastest way to index matrices

Perhaps you can move the initialization stuff outside the core function, and make sure that the core function only does what is essential and non-reducible?

1 Like