I see HEAD and base are much faster than others (right bottom panel).
But it seems to take more memory. (upper right panel)
#7686 (comment)
Did somebody improve join max/min/aggregation speed recently? Which PR? We should add a commit from that PR, or from current master, to that atime test case, so we can maintain this speed improvement, going forward.
The code for the test case which uses more memory and is faster:
"DT[by] fixed in #4558" = atime::atime_test(
setup = {
N9 <- as.integer(N * 0.9)
d <- data.table(
id = sample(c(seq.int(N9), sample(N9, N-N9, TRUE))),
v1 = sample(5L, N, TRUE),
v2 = sample(5L, N, TRUE)
)
},
expr = data.table:::`[.data.table`(d, , max(v1) - min(v2), by = id),
I see HEAD and base are much faster than others (right bottom panel).
But it seems to take more memory. (upper right panel)
#7686 (comment)
Did somebody improve
joinmax/min/aggregation speed recently? Which PR? We should add a commit from that PR, or from current master, to that atime test case, so we can maintain this speed improvement, going forward.The code for the test case which uses more memory and is faster: