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
I started typing up something on performance of rank vs frank but then I think this is the same issue. See my testing below, hopefully it helps.
Cheers!
First I setup a datatable where we have column A which we wish to group on and column B which we which to rank within each value of column A.
We can find that where the number of groups in column A are small, then frank is faster. However, when the number of groups in column is grows then frank is far slower.
Adding or removing the setkey on the data table does not appear to change performance. See code and results on my machine below:
Relevant SO post: http://stackoverflow.com/a/31006848/559784
The text was updated successfully, but these errors were encountered: