说明:测试包
要重现该问题,请运行代码:
devtools::load_all()
## Duplicate and coerce
x <- make_integer_altrep(10)
.Internal(inspect(x))
x1 <- x
x1[1] <- 1.0
.Internal(inspect(x1))
## No duplicate and coerce
x <- make_integer_altrep(1024)
.Internal(inspect(x)
<weixin_42166918> 上传 | 大小:7kb