Related: https://github.com/RcppCore/RcppParallel/pull/207#issuecomment-1925888136