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
The use of memset() to initialize an array of structures is forbidden by CRAN. For now, we use XGBOOST_STRICT_R_MODE macro to selectively disable memset():
The use of
memset()
to initialize an array of structures is forbidden by CRAN. For now, we useXGBOOST_STRICT_R_MODE
macro to selectively disablememset()
:xgboost/src/common/hist_util.cc
Lines 665 to 671 in ea6b117
We should simplify the code by using
std::fill()
for all use cases, not just when XGBoost is compiled to use with R.TODO. Run benchmark and measure performance impact of replacing
memset()
withstd::fill()
.The text was updated successfully, but these errors were encountered: