Displaying 1 result from an estimated 1 matches for "td1750555".
2013 Jan 24
1
Copy on assignment and .Internal(inspect())
...[NAM(1)] (len=10, tl=0) 2,3,4,5,6,...
[1] 2 3 4 5 6 7 8 9 10 10
@ba6a0f8 14 REALSXP g0c6 [NAM(1)] (len=10, tl=0) 2,3,4,5,6,...
[1] 2 3 4 5 6 7 8 9 10 11
Notice that the memory reference is different each time. But according
to http://r.789695.n4.nabble.com/full-copy-on-assignment-td1750555.html
I (possibly a mistake on my part) understand that some optimization
should be taking place.
Is right to conclude from the output above that the entire vector is
being copied each time or is just some kind of "shallow copy" (maybe
some kind of view of the vector but not the vector it...