mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-07 02:04:21 +01:00
In addition to the existing `append_frame` which will write an individual frame to the WAL, we add a method `append_frames_vectored` that takes N frames and the db size which will need to be set for the last (commit) frame, and it calculates the checksums and submits them as a single `pwritev` call, reducing the number of syscalls needed for each write operation.