I tried to optimize my code with @view. But I don\'t know If I should use @view if array slice is in left-hand side.
At first, I knew @view could reduce cost when use