The tree that knows
You saved one file in a 50,000-file repo. How few hashes can the server read to find it, and when does the trick stop paying?
You save one file in a 50,000-file repo, and Cursor's server has to learn which one changed. Sending every file's name and hash costs 3.2 MB each time. A tree of hashes finds it by reading about sixty. Watch the floors light as the sync walks down, and find where the trick stops paying.
Preparing for interviews? The ten-week plan puts this in order with DSA and the design rounds.
Included with a plan
This lab is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.
See plansAlready a member? Sign in
Or start free: a free account opens lessons 2 and 3 of every track.
the lesson Cursor, the case study
The whole idea this lab came from, told start to finish.
on the path Module 16 of 32 in System Design: Cursor
The lessons, boards and videos around this lab, in reading order.