This is an early C prototype for python/cpython#159207, based on aab474a35b7d47aa3404db0fd5cb2c0314090941. The patch replaces the sample writer and reader. It uses column blocks, exact timestamp residuals, stack reuse, packed flags, and frame byte planes. Shared string and frame tables keep their current representation. The prototype uses format version 2 and reads its own files only.
Both variants use the same Python executable, GCC 15.2 with -O3, and zstd 1.5.7 at level 5. The main comparison uses seven pairs, with the order reversed on each repeat. Each action runs in a fresh process on CPU 2. This was a busy shared Linux host with an AMD Ryzen AI Max+ 395. Treat small timing differences as inconclusive.
Write time covers writer creation, prepared samples, and finalization. Replay time covers reader creation, replay to a counter, and reader close. These measurements exclude remote stack capture and report export. File sizes include all metadata. Peak RSS includes Python and the shared tables. Files use