Slight performance enhancement to arrays