I’m writing something that involves image manipulation. I decided to use an array of p5.Vectors because I could store the x and y coordinates of pixels more easily. I could just as easily create 2 integer arrays (coordinateX and coordinateY) that would do the same thing.
I do want to be efficient and not take up computer resources unnecessarily.
Should I switch from the p5.Vector array to 2 integer arrays instead?