gama-platform / gama

Main repository for developing the 2024+ versions of GAMA
https://gama-platform.org
GNU General Public License v3.0
11 stars 4 forks source link

Support more formats for file buffering #217

Open lesquoyb opened 3 weeks ago

lesquoyb commented 3 weeks ago

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