I was going to post an answer for fast way to replace all zeros in the matrix. I was even quite happy because timings were the same order of magnitude as others. The idea was to overwrite ...
What does the function Internal`InheritedBlock do? How is it different from the regular Block?