Open DexGroves opened 9 years ago
I think it may be connected to this: https://github.com/gbm-developers/gbm/issues/18
gbm-developer gbm is calling LENGTH(VECTOR_ELT(x)) a heck of a lot in the c++ since that fix got implemented.
Some reproduction code: https://gist.github.com/DexGroves/9d821dde795108a09f51
Precomputing the lengths ought to help, if that's the problem?
All this now done in Rcpp; should have gone away. Could you possibly check?
I think it may be connected to this: https://github.com/gbm-developers/gbm/issues/18
gbm-developer gbm is calling LENGTH(VECTOR_ELT(x)) a heck of a lot in the c++ since that fix got implemented.
Some reproduction code: https://gist.github.com/DexGroves/9d821dde795108a09f51