The story’s score and claims

Comments on No. 26 of 46 · Karthik Nayak · edition of Monday 9 November 2026

Optimizing reference deletions in Git

Summary

A GitLab engineer describes how Git's files backend rewrites the entire packed-refs file on every packed reference deletion, which gets slow in repositories with millions of refs. While benchmarking a Rust reimplementation, they found the C version needlessly reformatted unchanged entries.

Comments

Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules