Store array/list size in a local variable for performance