I guess that you can also throw a couple of @inbounds before the for loops 
in Mauro's solution to improve things a bit more.

Reply via email to