The DT[I,J,BY] is quite perfect for data.table, but keyby is breaking such structure. And my question is as the title, if I never use keyby, and just use setkey/setkeyv and then use by as before, am I getting the exact performance of using keyby?
Thanks.
The
DT[I,J,BY]is quite perfect for data.table, butkeybyis breaking such structure. And my question is as the title, if I never usekeyby, and just usesetkey/setkeyvand then usebyas before, am I getting the exact performance of usingkeyby?Thanks.