On Sun, Sep 15, 2013 at 1:01 PM, headius (Charles Nutter) < headius / headius.com> wrote: > > Issue #8909 has been updated by headius (Charles Nutter). > > > FWIW, I would still optimize frozen-arrays-of-literals to always return > the same object, and frozen empty arrays and hashes would be the same > object everywhere, but the expression nature of the array elements means > this would be an unspecified characteristic of the feature. So we can abuse this to cache a value? res = [expensive_call(123)]f p res[0]