Displaying 1 result from an estimated 1 matches for "overcopi".
Did you mean:
overcome
2013 Sep 05
1
Why does duplicate() make deep copies?
Some experimentation with the below function should convince you that the
runtime of the bit inside sys.time is proportional to size*number*times. I
think it should only be proportional to number*times. The function is only
manipulating a list of references to vectors and not trying to make changes
to the vectors themselves.
overcopying <- function(size, number, times) {
#Make a list of