minor array implementation performance improvements