Submitted by: Arun ; Assigned to: Arun ; [R-Forge link](https://r-forge.r-project.org/tracker/index.php?func=detail&aid=5760&group_id=240&atid=978) At the moment, if one does: ``` S DT[, list(mean(x), mean(y)), by=z] ``` It'll be optimised to use `GForce`. However, doing ``` S DT[, list(.N, mean(x), mean(y)), by=z] ``` will result in `dogroups` instead of `GForce`, which could be slower. This case can be optimised relatively easily. Will do.
Activity