Implementation of matching_variables
and remaining_columns_to_read
is inefficient and can cause hangs
#735
Labels
bug
Something isn't working
Describe the bug
The
draws()
function becomes prohibitively slow when used with many variables, e.g. large arrays. This is due to looping over all variables for matching inmatching_variables
andremaining_columns_to_read
fromread_cmdstan_csv
.To Reproduce
Example:
running into a timeout in my instance.
Expected behavior
Ideally: improved run times.
CmdStanR version number
0.5.3
The text was updated successfully, but these errors were encountered: