You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,12 +168,12 @@
168
168
169
169
28.`setkey()`nowsupportstype`raw`asvalue columns (notaskeycolumns), [#5100](https://github.com/Rdatatable/data.table/issues/5100). Thanks Hugh Parsonage for requesting, and Benjamin Schwendinger for the PR.
170
170
171
-
29.`shift()`isnowoptimisedbygroup, [#1534](https://github.com/Rdatatable/data.table/issues/1534). Thanks to Gerhard Nachtmann for requesting, and Benjamin Schwendinger for the PR.
171
+
29.`shift()`isnowoptimizedbygroup, [#1534](https://github.com/Rdatatable/data.table/issues/1534). Thanks to Gerhard Nachtmann for requesting, and Benjamin Schwendinger for the PR. Thanks to @neovom for testing dev and filing a bug report, [#5547](https://github.com/Rdatatable/data.table/issues/5547) which was fixed before release. This helped also in improving the logic for when to turn on optimization by group in general, making it more robust.
172
172
173
173
```R
174
174
N=1e7
175
175
DT= data.table(x=sample(N), y=sample(1e6,N,TRUE))
176
-
shift_no_opt=shift# different name not optimised as a way to compare
176
+
shift_no_opt=shift# different name not optimized as a way to compare
177
177
microbenchmark(
178
178
DT[, c(NA, head(x,-1)), y],
179
179
DT[, shift_no_opt(x, 1, type="lag"), y],
@@ -263,7 +263,7 @@
263
263
# 2: 2 4 b
264
264
```
265
265
266
-
34.`weighted.mean()`isnowoptimisedbygroup, [#3977](https://github.com/Rdatatable/data.table/issues/3977). Thanks to @renkun-ken for requesting, and Benjamin Schwendinger for the PR.
266
+
34.`weighted.mean()`isnowoptimizedbygroup, [#3977](https://github.com/Rdatatable/data.table/issues/3977). Thanks to @renkun-ken for requesting, and Benjamin Schwendinger for the PR.
0 commit comments