4 ms·
i have the exact opposite opinion. such circular buffers only suit limited file system activities, such as logs. if you want editable config files of varying
by diydsp 8y ago
i have the exact opposite opinion. such circular buffers only suit limited file system activities, such as logs. if you want editable config files of varying lengths, you need a real fs. i'll concede that features like directory structures and timestamps can be omitted though.
- TickleSteve 8y agoNo, you can do log-structured BLOBs which essentially given you version control in a simple manner with circular buffers. As for variable-length configs, yes, but you should always be allocating the worst-case (i.e. defined maximum), hence no need for variable length.