Is your request related to a problem? Please describe.
Currently, file buffering only works for text and csv files, but there may be other formats that could benefit from it.
For example the json format is in append mode by default.
For other formats that do not have a append mode it could still be beneficial, for example if the file is rewritten every cycle or multiple times per cycle but we use the simulation buffering strategy we would be doing the opening/writing/closing only once.
Describe the improvement you'd like
Buffering strategies are also applied to other formats than text and csv
Is your request related to a problem? Please describe. Currently, file buffering only works for text and csv files, but there may be other formats that could benefit from it. For example the json format is in append mode by default. For other formats that do not have a append mode it could still be beneficial, for example if the file is rewritten every cycle or multiple times per cycle but we use the simulation buffering strategy we would be doing the opening/writing/closing only once.
Describe the improvement you'd like Buffering strategies are also applied to other formats than text and csv