liveBook · Manning

Memory bound

As explained in Modern C, Third Edition

A performance bottleneck is a program component or operation that substantially limits overall execution efficiency.

Assess performance bottlenecks by asking whether an improvement matters, then measuring performance. A reduction in an interactive program’s runtime from 1 ms to 0.9 ms is usually not worth pursuing. section 16.0

How Modern C, Third Edition covers it

How deep it goes
Introduces relevance and measurement, leaving detailed bottleneck assessment to a later discussion of performance measurement.
Examples
Contrasts reducing an interactive program’s runtime from 1 ms to 0.9 ms with worthwhile performance work.
What it assumes
Assumes the implementation has been made safe before performance is assessed.
What you can do after
Evaluate whether a performance improvement is relevant before investing effort in it.
How it connects
Connects bottleneck assessment with performance measurement and code optimization.

Also explained in

Compare how 11 books explain memory bound →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Modern C, Third Edition. The section links point to the parts of the book it draws on.