Explicitly store arr_size() / obj_size() into a variable when looping