HFT CORE SYSTEMS

Inlining, branch hints, LTO, PGO, and code layout

Lesson 51 of 96Phase 05: Low-latency C++
Video lesson coming soon

The written objectives and hands-on lab are available now.

cppvalley on YouTube ↗

Learning objectives

What you should understand

  1. Treat inlining as a cost model, not a keyword
  2. Use profile data to guide code layout
  3. Measure LTO and PGO effects on the real workload

Lab

Hands-on exercise

Build the same parser under baseline, LTO and PGO configurations.

Deliverable

Evidence of completion

A build-and-profile report covering speed, size and tail effects.

Prerequisite
EP 50

Phase 05

Low-latency C++

Full curriculum