using pointers to pass memory locations, +=, -+, and other direct modifications instead of copy operations will improve efficiency