---
answer: direct
beat: system-design
source: 1 article · updated: August 20, 2026
---

How much space do shortcut edges take compared to the original graph?

A real road network with 65 million nodes and 70 million edges grows to roughly 1 billion edges when all shortcuts are precomputed—about 14× the original size. This fits in memory on a server and is queried in milliseconds; the trade-off favours query speed.

Answered in

Why Google Maps Computes Shortcuts Offline

Contraction Hierarchies precomputes shortcut edges offline so routing queries skip neighbourhood streets and touch only 2,000 nodes in under 10 milliseconds.

Crashtech Editorial August 20, 2026 System Design

Read the full analysis

Other questions this article answers

More system design questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design beat.