On Thu, Oct 16, 2014 at 9:58 AM, Ivan Balashov <[email protected]> wrote: > Could adding length prefix be considered feasible enough to file a > feature request?
Adding a length prefix to each record in a file would be an incompatible change to the file format, so we'd be unlikely to make this, as older implementations would no longer be able to read data written by newer versions. You could achieve this effect by flushing the file after each item is written so that there's only a single record per block, but there are other per-block overheads that may or may not make this practical for your application. Doug
