test which is faster, overwriting memory space or replacing the pointer