Cache array expression result