← All projects
Project record01 mention
Originally shared on Hacker News

Marginalia index C++ port

A C++ port of Marginalia's search index code. The rewrite incorporates optimizations that drastically cut pointer chasing and relies primarily on an io_uring-based buffer pool population strategy with rare naked preads.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Marginalia index C++ port

    A C++ port of Marginalia's search index code. The rewrite incorporates optimizations that drastically cut pointer chasing and relies primarily on an io_uring-based buffer pool population strategy with rare naked preads.

    Posted by @marginalia_nu · Original comment ↗

    “Porting marginalia's index code to C++. Been staring at the code for so long I've found optimizations that will drastically cut pointer chasing, necessitating a primarily io_uring-based buffer pool population strategy with rare naked preads.”