Help me outperform Matlab in numerical solution of semidiscretized PDE system as much as possible

This would be the same issue as the sparsity one.