lazyvec
lazyvec copied to clipboard
Copy lazyvec without expansion on attribute change
At default, ALTREP's are expanded when attributes change. By a smart override of the duplicate method, a full expansion can be avoided (with a mechanism identical to wrapper objects).