Reducing garbage on example by using short array syntax