We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here's the relevant SO post.
When there's no by, using:
by
DT[, lapply(.SD, ...), .SDcols = ...]
need not deep copy .SD.
.SD
Note: It might be a bit tricky for cases like:
ans = DT[, .SD] # or ans = DT[, lapply(.SD, function(x) x)]
where if no copy is made, and a sub-assign by reference is done on ans, but still we can optimise cases where we're sure.
ans
Or add the shallow copied attribute so that we could check it on sub-assign (as discussed already).
The text was updated successfully, but these errors were encountered:
More or less a duplicate of #617. When that's implemented, this'll be automatically taken care of.
Sorry, something went wrong.
No branches or pull requests
Here's the relevant SO post.
When there's no
by
, using:need not deep copy
.SD
.Note: It might be a bit tricky for cases like:
where if no copy is made, and a sub-assign by reference is done on
ans
, but still we can optimise cases where we're sure.Or add the shallow copied attribute so that we could check it on sub-assign (as discussed already).
The text was updated successfully, but these errors were encountered: