Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Remove first 300M lines from 700 GB file on 1TB disk. Parent comment
memmove(beginning_of_file, beginning_of_file + 300_m_line_offset, file_size - 300_m_line_offset);
There are no comments on this comment yet.
memmove(beginning_of_file, beginning_of_file + 300_m_line_offset, file_size - 300_m_line_offset);