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
Excuse my general C naivete but would it be possible at all to have stan write it's csvs using O_APPEND mode whereby thw writer looks for the end of the file before every write? While waiting for the proper IO refactor I've been coding a csv->Inference Data converter that watches the csvs as they're created, grabs any new content then runs truncate -s 0 on the file to save on disk space. I can obviously skip the truncation part if it turns out that the csv writer here can't do O_APPEND or if there's a non-negligible implementation or performance cost, but thought I'd check.
The text was updated successfully, but these errors were encountered:
Excuse my general C naivete but would it be possible at all to have stan write it's csvs using
O_APPEND
mode whereby thw writer looks for the end of the file before every write? While waiting for the proper IO refactor I've been coding a csv->Inference Data converter that watches the csvs as they're created, grabs any new content then runstruncate -s 0
on the file to save on disk space. I can obviously skip the truncation part if it turns out that the csv writer here can't do O_APPEND or if there's a non-negligible implementation or performance cost, but thought I'd check.The text was updated successfully, but these errors were encountered: