Making 'Cache array lengths' quicker.

Applied previous test to links section